Re: [dpdk-dev] [PATCH v4] net/ice: fix invalid RSS type

2020-07-15 Thread Su, Simei
Hi, Qi > -Original Message- > From: Zhang, Qi Z > Sent: Wednesday, July 15, 2020 10:13 PM > To: Su, Simei > Cc: dev@dpdk.org; Guo, Junfeng ; Guo, Jia > ; Xu, Ting > Subject: RE: [PATCH v4] net/ice: fix invalid RSS type > > > > > -Original Message- > > From: Su, Simei > > Sen

Re: [dpdk-dev] [PATCH v4] net/ice: fix invalid RSS type

2020-07-15 Thread Zhang, Qi Z
> -Original Message- > From: Su, Simei > Sent: Wednesday, July 15, 2020 6:26 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Guo, Junfeng ; Guo, Jia > ; Xu, Ting ; Su, Simei > > Subject: [PATCH v4] net/ice: fix invalid RSS type > > When a RSS rule with only SRC/DST_ONLY or IPV6 prefix RSS t

[dpdk-dev] [PATCH v4] net/ice: fix invalid RSS type

2020-07-15 Thread Simei Su
When a RSS rule with only SRC/DST_ONLY or IPV6 prefix RSS type, it should return failure. Besides, when a RSS rule with symmetric hash function, the RSS type shouldn't carry with SRC/DST_ONLY. This patch adds invalid RSS type check for the two cases. Fixes: dfdc589f6ee0 ("net/ice: refactor PF hash