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 93B4FA046B; Thu, 9 Jan 2020 15:21:50 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 6A0581DE0D; Thu, 9 Jan 2020 15:21:50 +0100 (CET) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 3534B1DDC8 for ; Thu, 9 Jan 2020 15:21:49 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 06:21:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,414,1571727600"; d="scan'208";a="227615442" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga001.fm.intel.com with ESMTP; 09 Jan 2020 06:21:48 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 06:21:48 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 9 Jan 2020 06:21:47 -0800 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 9 Jan 2020 06:21:47 -0800 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.53) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 06:21:46 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=axtLAp9aeF3r9t0H9wkFi89ZRf9oQO4pmCrL/4GOzN2bRqBUisvQDBZ7MKR6yyQ5Mt3GLWG4YhND4aUnNxKPPADow+LOX5Af3lISWge2UNoOIVL0latluXxFH8eBGMRavMvaChM9ONMrRYzxD4rnQjYb9EwCat2XX1v49UPuLFofpivW911XcN6aLqNU5ufvWaRGgpmHa0sunwB84jbK9F0uN56ej5cVF6GQAyEs1P7cgbT+XCJ4WIVkWvWlpV8P4DlXBAthtHnC1py0aL9j7zVfZ3avGE4lTWmE0Tyom09P23//FYo27fNYZhQWiA5wlp2BjLCbQAkJ2jN3Zqp06A== 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=pi8Qb49SfftIGOJz6VqbVuDT0p8oppqZ3XR9bAJUrIw=; b=FB1VaRODLp8oqtDJHAXPinPomyt+fBe35yutaPb4tna4Xgh7Ns+p8SrrrhdBEl4Irdxm52SxETE2CHCApJM8wkxBJTV0h7aXhxok9UO+9dWJ5yAN+82+02+QJTpblnzk2jAfTxjl5Sy/TBzyUgEaDsqroKNPr4gJ6PPWk/YgTnx0/G0Yet9O+17UdsJ41NKvt95eqzLHktWlqfagTGIoitmEz/rIlD3a33q8z5vsPGxVzw6PSwS5jalwPJnN7eGDfC/kaKWXegJHEHhEyZnAyv+r0PkkPr+lC8D5NNFB4M1T9kQOBYjmRpUY7qBVuR9dua6MLldjGrcdcj8JENYNnQ== 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=pi8Qb49SfftIGOJz6VqbVuDT0p8oppqZ3XR9bAJUrIw=; b=boO89zSaX5kqCVq2fKpY44tx8GgQaQXLr93v+D9tky4U1CUyThzS/WOSs6eWxYMlLuDv/sBIcTAh9huU2hBG7NSnvSo46/mUjP/wCoJ5lwT0vdHdKlwzxu6YzrK1LbpgH8GMzjrZm9Y//9phnQuXXBTNI8/6jGznl5OvzRzyugU= Received: from DM6PR11MB3914.namprd11.prod.outlook.com (20.176.126.24) by DM6PR11MB3580.namprd11.prod.outlook.com (20.178.230.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2602.13; Thu, 9 Jan 2020 14:21:44 +0000 Received: from DM6PR11MB3914.namprd11.prod.outlook.com ([fe80::29bf:9a8f:7bba:dd26]) by DM6PR11MB3914.namprd11.prod.outlook.com ([fe80::29bf:9a8f:7bba:dd26%6]) with mapi id 15.20.2623.011; Thu, 9 Jan 2020 14:21:44 +0000 From: "Iremonger, Bernard" To: "Zhang, Qi Z" , "dev@dpdk.org" , "Xing, Beilei" , "Doherty, Declan" CC: "Ananyev, Konstantin" , "Byrne, Stephen1" , "Zhang, Helin" Thread-Topic: [PATCH v3 4/9] net/i40e: handle ESP tunnel Thread-Index: AQHVxubBiX4Q/d5G0UaCwussi0usM6fiXsgAgAACwrA= Date: Thu, 9 Jan 2020 14:21:44 +0000 Message-ID: References: <1576577756-648-1-git-send-email-bernard.iremonger@intel.com> <1578572194-594-5-git-send-email-bernard.iremonger@intel.com> <039ED4275CED7440929022BC67E7061153E021B6@SHSMSX105.ccr.corp.intel.com> In-Reply-To: <039ED4275CED7440929022BC67E7061153E021B6@SHSMSX105.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiM2NhODg1NzgtYzBkNS00ZmEzLTg2ZDgtZDE5NmNkMDc2NzNjIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoib0tjcXRFeXQyTmNTXC94ZzkxRUlGNlh2aU5uU3RcL3RUbktmVGlPK2c5UGNHczhweklKU0xsT2lSNUk4WmZWVUl3In0= dlp-product: dlpe-windows x-ctpclassification: CTP_NT dlp-reaction: no-action dlp-version: 11.2.0.6 authentication-results: spf=none (sender IP is ) smtp.mailfrom=bernard.iremonger@intel.com; x-originating-ip: [192.198.151.185] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: adcd55d6-49ab-45aa-9fec-08d7950f4136 x-ms-traffictypediagnostic: DM6PR11MB3580: 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:8882; x-forefront-prvs: 02778BF158 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(136003)(346002)(366004)(396003)(39860400002)(189003)(199004)(13464003)(8936002)(107886003)(86362001)(26005)(9686003)(6506007)(4326008)(186003)(55016002)(6636002)(2906002)(8676002)(33656002)(66946007)(5660300002)(66476007)(66556008)(81156014)(7696005)(110136005)(316002)(53546011)(71200400001)(76116006)(54906003)(478600001)(52536014)(81166006)(64756008)(66446008); DIR:OUT; SFP:1102; SCL:1; SRVR:DM6PR11MB3580; H:DM6PR11MB3914.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sSpK8BRp2NH7nJ+mTxRVAmze9Ew5s/EoQbWWHp8xKK/NFk3DPv/+NTRs2jE93CjJ04twMis69BzAhryFc4Ex/PEjGxzhNKV9BQwcL+4GqLMrsiSnQzupMy4G15a69JlkS1Ipo0gYvUKwCvtH10WcfmMGuPNv4nxSELcUQDtrnBycXhNcBZB62cX6syjVJCDTNT9SQubm/s5mYJ5WjuKBWBOcFEzFsMKnqnevIGfz3GjpUAYvGdPCcs8xzNvYboRf/oKsHdUrwvFmkOK8VTVKkaEZHF6BPJFwqQWJiSBP7QHRvJIh6XXqmur+a/4mUh2t3WJnN7ov/8NPER0E7OZ7PAQoU8SyK9y4jaAe8cScqzW05+vx6SovJjRx7X8HqL+pEqZzVPO23QM1cJyvmaI3oyMo/eKX5/3Ek3wWgnj7rgh28ath8M0a755Q3/2aIGvZzRy7oddMzk0NfV8j1LNEZtzUbqzeEUJgJGhzQTMM/OVnBml2L03hzJw6sLb84qY9 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: adcd55d6-49ab-45aa-9fec-08d7950f4136 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2020 14:21:44.5512 (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: +UkmgTOLXjW138nnMZXu7NZbuItALAbf2qibW0dOPjNWn0Ir28cKpeS/xY25jy58KRmux0xfsLKWOWyIMiLTxTQiARoTWBWz7HVb0vfzmmM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3580 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 4/9] net/i40e: handle ESP tunnel 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" Hi Qi, > -----Original Message----- > From: Zhang, Qi Z > Sent: Thursday, January 9, 2020 2:09 PM > To: Iremonger, Bernard ; dev@dpdk.org; > Xing, Beilei ; Doherty, Declan > > Cc: Ananyev, Konstantin ; Byrne, Stephen1 > ; Zhang, Helin > Subject: RE: [PATCH v3 4/9] net/i40e: handle ESP tunnel >=20 > Hi Bernard: > > -----Original Message----- > > From: Iremonger, Bernard > > Sent: Thursday, January 9, 2020 8:16 PM > > To: dev@dpdk.org; Xing, Beilei ; Zhang, Qi Z > > ; Doherty, Declan > > Cc: Ananyev, Konstantin ; Byrne, > > Stephen1 ; Zhang, Helin > > ; Iremonger, Bernard > > > > Subject: [PATCH v3 4/9] net/i40e: handle ESP tunnel > > > > handle ESP tunnel in rte_pmd_i40e.c >=20 > Not sure if this should be part of the patch that enable the DDP that > support ESP packet type, or at least it should be the one after that patc= h? I think it is ok to be in a separate patch (easier to review). The patch set may need to be reordered. >=20 > Regards > Qi > > > > Signed-off-by: Bernard Iremonger > > --- > > drivers/net/i40e/rte_pmd_i40e.c | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/net/i40e/rte_pmd_i40e.c > > b/drivers/net/i40e/rte_pmd_i40e.c index fdcb1a4..b987346 100644 > > --- a/drivers/net/i40e/rte_pmd_i40e.c > > +++ b/drivers/net/i40e/rte_pmd_i40e.c > > @@ -2172,7 +2172,8 @@ static int check_invalid_pkt_type(uint32_t > pkt_type) > > tnl !=3D RTE_PTYPE_TUNNEL_GRENAT && > > tnl !=3D RTE_PTYPE_TUNNEL_GTPC && > > tnl !=3D RTE_PTYPE_TUNNEL_GTPU && > > - tnl !=3D RTE_PTYPE_TUNNEL_L2TP) > > + tnl !=3D RTE_PTYPE_TUNNEL_L2TP && > > + tnl !=3D RTE_PTYPE_TUNNEL_ESP) > > return -1; > > > > if (il2 && > > -- > > 2.7.4 >=20 Thanks for review. Regards, Bernard.