From: Bernard Iremonger Date: Wed, 15 Apr 2020 11:14:15 +0000 (+0100) Subject: net/i40e: add ESP patterns X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=14faf8e998297aed331f2eb4687bd9917c4e82ce;p=dpdk.git net/i40e: add ESP patterns 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 Acked-by: Beilei Xing --- diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index f72a54ba66..416b3904ee 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -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: diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index 72edd5a8c3..d1bc960843 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -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;