net/iavf: support RSS for IPv4 IPv6 mix of GTP
authorJunfeng Guo <junfeng.guo@intel.com>
Wed, 8 Jul 2020 03:27:39 +0000 (11:27 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 11 Jul 2020 04:18:53 +0000 (06:18 +0200)
commit642f201950152dad5737f339d8348810001d71df
treef2f7fa4e478b8fb8064230dd6e2b129703bec4ab
parent610bc231d09bbb80dfee3d0003605d19cc41c04f
net/iavf: 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/iavf/iavf_generic_flow.c
drivers/net/iavf/iavf_generic_flow.h
drivers/net/iavf/iavf_hash.c