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 A02D4A046B; Thu, 9 Jan 2020 15:08:47 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A14F1DDB9; Thu, 9 Jan 2020 15:08:47 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id C14A91DDB8 for ; Thu, 9 Jan 2020 15:08:45 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jan 2020 06:08:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,413,1571727600"; d="scan'208";a="303878285" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 09 Jan 2020 06:08:44 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) 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:08:44 -0800 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 9 Jan 2020 06:08:43 -0800 Received: from shsmsx105.ccr.corp.intel.com ([169.254.11.28]) by shsmsx102.ccr.corp.intel.com ([169.254.2.202]) with mapi id 14.03.0439.000; Thu, 9 Jan 2020 22:08:41 +0800 From: "Zhang, Qi Z" To: "Iremonger, Bernard" , "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: AQHVxuaz+n/G7sDPTEC8W0zlhUyp/KfiXhVg Date: Thu, 9 Jan 2020 14:08:40 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153E021B6@SHSMSX105.ccr.corp.intel.com> References: <1576577756-648-1-git-send-email-bernard.iremonger@intel.com> <1578572194-594-5-git-send-email-bernard.iremonger@intel.com> In-Reply-To: <1578572194-594-5-git-send-email-bernard.iremonger@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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 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 >=20 > handle ESP tunnel in rte_pmd_i40e.c Not sure if this should be part of the patch that enable the DDP that supp= ort ESP packet type, or at least it should be the one after that patch? Regards Qi >=20 > Signed-off-by: Bernard Iremonger > --- > drivers/net/i40e/rte_pmd_i40e.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/net/i40e/rte_pmd_i40e.c b/drivers/net/i40e/rte_pmd_i= 40e.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; >=20 > if (il2 && > -- > 2.7.4