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 D45BBA0588; Thu, 16 Apr 2020 03:14:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 452941D9AC; Thu, 16 Apr 2020 03:14:06 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 38F0E1D9A9 for ; Thu, 16 Apr 2020 03:14:04 +0200 (CEST) IronPort-SDR: TqiWEDJxLgpv9Z8QRNzY0w3109aEx9XrpCZ6Uzy+DwfCnk3A8bkVCnNxLHPScU0Zu+KeS7LX3g AHHUC5/0zNKA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2020 18:14:03 -0700 IronPort-SDR: DBTQu8eNEFPtrhrkMFbYkmimHbpfK5+CFPRA38hL/hHyZ8cTCFP4EzOzr4YGqbBw/zDFMdn7gK 8ntG3VGbyJuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,388,1580803200"; d="scan'208";a="288725144" Received: from orsmsx102.amr.corp.intel.com ([10.22.225.129]) by fmsmga002.fm.intel.com with ESMTP; 15 Apr 2020 18:14:04 -0700 Received: from orsmsx112.amr.corp.intel.com (10.22.240.13) by ORSMSX102.amr.corp.intel.com (10.22.225.129) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Apr 2020 18:14:02 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by ORSMSX112.amr.corp.intel.com (10.22.240.13) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Apr 2020 18:14:02 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.103) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Apr 2020 18:14:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fnsAxsh0jMMhja2PeKcAjXhK22ohmNTfABx+QVQzHdocuportoCaPQgxIW+MCk2YGtbWzCWVnV9Pe6Q65mLEtdj38mW/UdUIEO0lavXdnwORaLU2Y2R2eF6pGm3U2shZVp/+kU01eX2BhMPNrjJsh5fMPD2JMp/8sQwyDd5m1HV0Sw9zCH9wO0kkNLiCJsXCdbNVYujlCQgUECEl8RwS0W+AxtfekjeyBoAL6YC9AVvH3VTh26tVn20nPz5W1vU2Cr8/G7LlrHk0/UOUF1cHMM/X3b7B+jpscvLLjMeBSi7wliQTkk8rwyb/9NM7gtNhNLTv2Ilf7eVi4/4iuiioYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QUYVvladoFQPGAXx06b1XwypzM5vsh8DVXYidh2pJwA=; b=kfu8De49FJrw00Ym7HW3tSwyetltgI1ryjr/hO9EpmSh/Wrwk9Wtxgr2a4F06oBGCLafJwBvhMAwFvtaMFI2FWu6gYTcHHtDnFQbnOCGDfI3FBHjr27EU/e/WReyCC+9nm58JREYbcA+AfeEBCIjdveAuGvK6xwo9KrCKPcJWgSfdTilOYh582dpz9s1YUMrQrIXIBeBgoDTZRDHKfA9WcfhIN1IFLFAqqMbRlf8+gK+uK/nB3T/3O5M8jqOE9tcEdLrVjSeXaDPoFlDexdgUf9hGeLbdHAb8IkVWvAMLbUUqjlI+9hvjyjOWJONoGXhRIPqJftGSyN/ii5/6/Svww== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=QUYVvladoFQPGAXx06b1XwypzM5vsh8DVXYidh2pJwA=; b=ZFqWEdS17mRxrbWN/FpY1FapRoiBnUqNRo1F8Wv+TMbWMRmQXxmLCO6suVBplP+uNHqtoWp5jBp5TZFI2fCHVcuPFEiMbqo/yTF0njOiAGkH/9q5T1EFqIi5jpOLs+S/z5iNxekcG8E+eIEM+qssiV7f9tOl5itHzY5IAFh45jo= Received: from BYAPR11MB3541.namprd11.prod.outlook.com (2603:10b6:a03:f5::16) by BYAPR11MB3272.namprd11.prod.outlook.com (2603:10b6:a03:1b::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2900.28; Thu, 16 Apr 2020 01:13:59 +0000 Received: from BYAPR11MB3541.namprd11.prod.outlook.com ([fe80::2c4f:22b:b8b0:27f9]) by BYAPR11MB3541.namprd11.prod.outlook.com ([fe80::2c4f:22b:b8b0:27f9%5]) with mapi id 15.20.2900.028; Thu, 16 Apr 2020 01:13:59 +0000 From: "Xing, Beilei" To: "Iremonger, Bernard" , "dev@dpdk.org" , "Zhang, Qi Z" , "Doherty, Declan" CC: "Ananyev, Konstantin" Thread-Topic: [PATCH v4 3/3] net/i40e: add ESP patterns Thread-Index: AQHWExceEivaHb98YEycvtQXtnyw1ah68lgA Date: Thu, 16 Apr 2020 01:13:59 +0000 Message-ID: References: <1585662997-23618-1-git-send-email-bernard.iremonger@intel.com> <1586949255-17234-4-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1586949255-17234-4-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=beilei.xing@intel.com; x-originating-ip: [192.102.204.45] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7c95c0f2-55c3-4a0d-537c-08d7e1a37174 x-ms-traffictypediagnostic: BYAPR11MB3272: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0375972289 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3541.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10019020)(346002)(376002)(39860400002)(396003)(136003)(366004)(8936002)(33656002)(86362001)(107886003)(81156014)(966005)(8676002)(66446008)(64756008)(71200400001)(2906002)(6636002)(55016002)(186003)(7696005)(316002)(66946007)(76116006)(478600001)(26005)(9686003)(66556008)(4326008)(52536014)(66476007)(110136005)(53546011)(6506007)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: YX3FMqsht+IcDYX62iROYUC2m/8GkVhuUqsrlh7/IRrcjjk0Ag5y4m/U3vJiGkfp2UBEt4BOlrAOtYrP3PWecNwcWiqERLQ3dqvPCth36S1Fct7sWzAUZpY/WmDv6J3JgOP45a5aloti8CKJLT4vxEiaSV6NwG+PpTVK2KV/UpATsl8E7BMYdarn6Phay35hcjz94FbbFkx9YI7bnc5OT3HVQRs1504z3EHqnlerWRHRLxMecROxcrL6viYZQdSiEqU6lvlX9YFi/IxrWwe/71YEGeQj6x68QnBOMBUS0/PBlms8uvSxwxHyigLorpLQ9JnltlBF/iGXgoDyivdZp6eJXXJACjI+jDQyY0SGtN7ITV5HXnK4PHI2Chixr/C7DkA1KUwa+V/fEyRR2JL6P4r2hGdfl/jNsS+RJ9tr5sAhG75wKmZvfvjR20Th/BqCHu9dXS+TuKAIJsQFmPlqyJWZIhUUanJEb4bgtELvQxJtBVN10TtpMhmi+uZOCFP/c6SaDdBkYnecoMJY71eDoA== x-ms-exchange-antispam-messagedata: zP8J6iqnXXK+LiNfH6RqSadZqGLp8H1sxzGWY93NiqXFNlbNRlb4xI+ey3rbc0seNtLVMT+I8E1g27rkhu0OSdOTRqhDJVZLt0lsx2ZTZAxlF4R9wOwoFMEjOe+lpY6QuENKGZYyPsF5m7YDYDjiiA== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 7c95c0f2-55c3-4a0d-537c-08d7e1a37174 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2020 01:13:59.3953 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 2rkrhMaagzazB1mz9DJnd0fsC9pMbLIyG67EweVDGqPGrNC/ExMeS1++7mNLJKVMMP2HeFKMRolStbv9wcVlUQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3272 X-OriginatorOrg: intel.com Subject: Re: [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" > -----Original Message----- > From: Iremonger, Bernard > Sent: Wednesday, April 15, 2020 7:14 PM > To: dev@dpdk.org; Xing, Beilei ; Zhang, Qi Z > ; Doherty, Declan > Cc: Ananyev, Konstantin ; Iremonger, > Bernard > Subject: [PATCH v4 3/3] net/i40e: add ESP patterns >=20 > add ESP patterns to i40e_flow_parse_rss_pattern(). > update i40e PMD user guide with download link for esp-ah.pkg file. >=20 > 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(-) >=20 > 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. >=20 > -ESP-AH package is not released yet. > +ESP-AH package is released, and it can be downloaded from > +https://downloadcenter.intel.com/download/29446. >=20 > Load a profile which supports GTP and store backup profile: >=20 > 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 }, > }; >=20 > p_info->types =3D I40E_RSS_TYPE_INVALID; > -- > 2.7.4 Acked-by: Beilei Xing