net/ice: fix RSS for GTPU
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 13 May 2020 12:11:44 +0000 (20:11 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 19 May 2020 15:12:16 +0000 (17:12 +0200)
commit31fc9249c7212e3a6333f45110145b19432b1c1c
tree3c46d9c3ebf442e2166a0a42b9d395200d37e760
parentb342fd9084cf99292f0077e16b0edb3b6b79f6e7
net/ice: fix RSS for GTPU

All supported pattern for GTPU include extend header:
pattern_eth_ipv4_gtpu_eh_ipv4
pattern_eth_ipv4_gtpu_eh_ipv4_udp
pattern_eth_ipv4_gtpu_eh_ipv4_tcp

So the RSS rule should only take effect on GTPU packet that contains
extend header. The patch fix above issue and also allow inner l4 port
as input set.

Fixes: c08a72c79c7f ("net/ice: fix pattern name of GTPU with extension header")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
Tested-by: Simei Su <simei.su@intel.com>
drivers/net/ice/base/ice_flow.c
drivers/net/ice/base/ice_flow.h
drivers/net/ice/ice_hash.c