net/ice: extend invalid RSS combinations
authorLingyu Liu <lingyu.liu@intel.com>
Thu, 8 Apr 2021 15:54:36 +0000 (15:54 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 13 Apr 2021 05:14:30 +0000 (07:14 +0200)
commitb0e539f2607230230b98a92b6c0f9dee4f4dac5a
treef54f48203f3c0f4ab2f4f19d33de63795ee3d1d3
parent68b6e6e694faa7e76b3451da0d484a955dd6d103
net/ice: extend invalid RSS combinations

When create a rule with following invalid RSS type combinations,
it should fail.

Invalid RSS combinations list:
- ETH_RSS_IPV4 | ETH_RSS_NONFRAG_IPV4_TCP
- ETH_RSS_IPV6 | ETH_RSS_NONFRAG_IPV6_TCP

This patch adds these combinations in 'invalid_rss_comb' array to
do valid check, if the combination check failed, the rule will be
created failed.

Signed-off-by: Lingyu Liu <lingyu.liu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_hash.c