net/ice: support RSS for IPv4 IPv6 mix of GTP
authorJunfeng Guo <junfeng.guo@intel.com>
Wed, 8 Jul 2020 03:27:38 +0000 (11:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit610bc231d09bbb80dfee3d0003605d19cc41c04f
tree6ec834154a517c7a3f6c64d575611ee5fc1defcd
parent8020b8123ab62622f048fbc6cd90e2311bb9a0e6
net/ice: support RSS for IPv4 IPv6 mix of GTP

RSS for GTP with outer & inner ipv4 & ipv6 combination are supported
in this patch, so that we can process RSS based on inner 5 tuples or
3 tuples of all the cases below of GTP packets:
        1. ipv4 (outer) + ipv4 (inner)
        2. ipv4 (outer) + ipv6 (inner)
        3. ipv6 (outer) + ipv4 (inner)
        4. ipv6 (outer) + ipv6 (inner)

Signed-off-by: Junfeng Guo <junfeng.guo@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_generic_flow.c
drivers/net/ice/ice_generic_flow.h
drivers/net/ice/ice_hash.c