net/iavf: fix GTPU L4 hash
authorJeff Guo <jia.guo@intel.com>
Mon, 20 Jul 2020 04:00:20 +0000 (12:00 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Jul 2020 11:54:54 +0000 (13:54 +0200)
commit34c3e885bee397c5e3af35e3f2c463cda83739d2
treec06de955f91d2c90318e7f95e8fe63bb11cb5590
parente4d3cac43cd779d9be6caadb3c682fe9235fb72d
net/iavf: fix GTPU L4 hash

When the configure pattern involve GTPU inner l3 and l4, even the
configure input set only l3 but not l4, the different l4 protocol
header should also be configured for the different l4 protocol.

Fixes: 215a247b5f33 ("net/iavf: refactor hash flow")
Fixes: 642f20195015 ("net/iavf: support RSS for IPv4 IPv6 mix of GTP")

Signed-off-by: Jeff Guo <jia.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_hash.c