From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 150BBA058F; Wed, 25 Mar 2020 16:56:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 163001C027; Wed, 25 Mar 2020 16:56:18 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 0753F2C15 for ; Wed, 25 Mar 2020 16:56:15 +0100 (CET) IronPort-SDR: AciHMBQXPsQ+tWyiRVsJA2k0x38zQ6yY0jc9Lw/QL6Acwn7TIRVzGPq07Fw0XBdBvxGDE63oQo 72TLkDTL4mLA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Mar 2020 08:56:15 -0700 IronPort-SDR: zUWsol6WotXa9/2DRWRDmgDn94IQjoyDpcfVmRfqSV98rGP2VkGjgxOmzGoxRoSIyzUSrRIg1d ej0y7A0rLEaQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,304,1580803200"; d="scan'208";a="238553727" Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by fmsmga007.fm.intel.com with ESMTP; 25 Mar 2020 08:56:12 -0700 From: Bernard Iremonger To: dev@dpdk.org, beilei.xing@intel.com, qi.z.zhang@intel.com, declan.doherty@intel.com Cc: konstantin.ananyev@intel.com, Bernard Iremonger Date: Wed, 25 Mar 2020 15:55:55 +0000 Message-Id: <1585151755-15837-4-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1584535089-29499-1-git-send-email-bernard.iremonger@intel.com> References: <1584535089-29499-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v2 3/3] net/i40e: add ESP patterns X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- doc/guides/nics/i40e.rst | 3 ++- drivers/net/i40e/i40e_flow.c | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index 03b117a..65e4634 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -508,7 +508,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 4774fde..85f3704 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -4456,11 +4456,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; -- 2.7.4