net/i40e: add ESP patterns
authorBernard Iremonger <bernard.iremonger@intel.com>
Wed, 15 Apr 2020 11:14:15 +0000 (12:14 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 21 Apr 2020 11:57:08 +0000 (13:57 +0200)
Add ESP patterns to i40e_flow_parse_rss_pattern().
Update i40e PMD user guide with download link for esp-ah.pkg file.

Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
doc/guides/nics/i40e.rst
drivers/net/i40e/i40e_flow.c

index f72a54b..416b390 100644 (file)
@@ -509,7 +509,8 @@ https://downloadcenter.intel.com/download/27587.
 PPPoE package is released, and it can be downloaded from
 https://downloadcenter.intel.com/download/28040.
 
-ESP-AH package is not released yet.
+ESP-AH package is released, and it can be downloaded from
+https://downloadcenter.intel.com/download/29446.
 
 Load a profile which supports GTP and store backup profile:
 
index 72edd5a..d1bc960 100644 (file)
@@ -4507,11 +4507,15 @@ i40e_flow_parse_rss_pattern(__rte_unused struct rte_eth_dev *dev,
                { pattern_fdir_ipv4_tcp, ETH_RSS_NONFRAG_IPV4_TCP },
                { pattern_fdir_ipv4_udp, ETH_RSS_NONFRAG_IPV4_UDP },
                { pattern_fdir_ipv4_sctp, ETH_RSS_NONFRAG_IPV4_SCTP },
+               { pattern_fdir_ipv4_esp, ETH_RSS_ESP },
+               { pattern_fdir_ipv4_udp_esp, ETH_RSS_ESP },
                { pattern_fdir_ipv6,
                        ETH_RSS_FRAG_IPV6 | ETH_RSS_NONFRAG_IPV6_OTHER },
                { pattern_fdir_ipv6_tcp, ETH_RSS_NONFRAG_IPV6_TCP },
                { pattern_fdir_ipv6_udp, ETH_RSS_NONFRAG_IPV6_UDP },
                { pattern_fdir_ipv6_sctp, ETH_RSS_NONFRAG_IPV6_SCTP },
+               { pattern_fdir_ipv6_esp, ETH_RSS_ESP },
+               { pattern_fdir_ipv6_udp_esp, ETH_RSS_ESP },
        };
 
        p_info->types = I40E_RSS_TYPE_INVALID;