net/iavf: support flow director for IPv6 fragments
authorWenjun Wu <wenjun1.wu@intel.com>
Tue, 17 Aug 2021 06:50:14 +0000 (14:50 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Sun, 29 Aug 2021 11:23:17 +0000 (13:23 +0200)
This patch adds L3 fields FDIR support for IPv6 fragment packets.

Signed-off-by: Wenjun Wu <wenjun1.wu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_fdir.c

index ca72d45..32b0604 100644 (file)
@@ -57,7 +57,7 @@
        IAVF_INSET_IPV6_HOP_LIMIT)
 
 #define IAVF_FDIR_INSET_ETH_IPV6_FRAG_EXT (\
-       IAVF_INSET_IPV6_ID)
+       IAVF_FDIR_INSET_ETH_IPV6 | IAVF_INSET_IPV6_ID)
 
 #define IAVF_FDIR_INSET_ETH_IPV6_UDP (\
        IAVF_INSET_IPV6_SRC | IAVF_INSET_IPV6_DST | \