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 DBC2CA0563; Wed, 15 Apr 2020 13:14:49 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 779561D6ED; Wed, 15 Apr 2020 13:14:34 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 284BC1D6F0 for ; Wed, 15 Apr 2020 13:14:33 +0200 (CEST) IronPort-SDR: KFr5fw/g6bNWmJg2EiIhfZFQtMw1FZv2gQGAzE+8Aq0YT+Xm+RcRQnGuuQlIxPP/Evoht28ilp E48xa2m01VBQ== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 04:14:32 -0700 IronPort-SDR: VgKTpftSiy1+evDFrG2PYSFIrLqAwUweqBLAKXA+9jjFGe0m14ja/H2FI7TNQWFGfht4Jc90WL LqM4gG4hKTGw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,386,1580803200"; d="scan'208";a="273125913" Received: from sivswdev08.ir.intel.com (HELO localhost.localdomain) ([10.237.217.47]) by orsmga008.jf.intel.com with ESMTP; 15 Apr 2020 04:14:30 -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, 15 Apr 2020 12:14:15 +0100 Message-Id: <1586949255-17234-4-git-send-email-bernard.iremonger@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <1585662997-23618-1-git-send-email-bernard.iremonger@intel.com> References: <1585662997-23618-1-git-send-email-bernard.iremonger@intel.com> Subject: [dpdk-dev] [PATCH v4 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 f72a54b..416b390 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 1d0eaf6..e65a07a 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; -- 2.7.4