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 0586BA0613 for ; Fri, 27 Sep 2019 08:01:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 01BA51E34; Fri, 27 Sep 2019 08:01:41 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 7EA9E1DB9 for ; Fri, 27 Sep 2019 08:01:39 +0200 (CEST) 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; 26 Sep 2019 23:01:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,554,1559545200"; d="scan'208";a="273708791" Received: from kmsmsx151.gar.corp.intel.com ([172.21.73.86]) by orsmga001.jf.intel.com with ESMTP; 26 Sep 2019 23:01:37 -0700 Received: from pgsmsx103.gar.corp.intel.com ([169.254.2.183]) by KMSMSX151.gar.corp.intel.com ([169.254.10.225]) with mapi id 14.03.0439.000; Fri, 27 Sep 2019 14:01:36 +0800 From: "Zhao1, Wei" To: "Zhang, Qi Z" , "Lu, Wenzhuo" , "Yang, Qiming" CC: "dev@dpdk.org" , "Ye, Xiaolong" , "Zhang, Qi Z" , "Nowlin, Dan" , "Stillwell Jr, Paul M" Thread-Topic: [dpdk-dev] [PATCH 2/8] net/ice/base: fix for NVGRE switch rule programming Thread-Index: AQHVdOoUzto8PxE59kyq0Wohuobhrqc/CCxw Date: Fri, 27 Sep 2019 06:01:36 +0000 Message-ID: References: <20190902035551.16852-1-qi.z.zhang@intel.com> <20190927041646.34712-1-qi.z.zhang@intel.com> <20190927041646.34712-3-qi.z.zhang@intel.com> In-Reply-To: <20190927041646.34712-3-qi.z.zhang@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.0.600.7 dlp-reaction: no-action x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/8] net/ice/base: fix for NVGRE switch rule programming 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" Tested-by: Wei Zhao > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Qi Zhang > Sent: Friday, September 27, 2019 12:17 PM > To: Lu, Wenzhuo ; Yang, Qiming > > Cc: dev@dpdk.org; Ye, Xiaolong ; Zhang, Qi Z > ; Nowlin, Dan ; Stillwell Jr, > Paul M > Subject: [dpdk-dev] [PATCH 2/8] net/ice/base: fix for NVGRE switch rule > programming >=20 > Correct for GRE/NVGRE training packets to include the correct protocol ID= s > for TCP and UDP respectively. >=20 > Fixes: b83a0c290322 ("net/ice/base: fix inner TCP and UDP support for GRE= ") >=20 > Signed-off-by: Dan Nowlin > Signed-off-by: Paul M Stillwell Jr > Signed-off-by: Qi Zhang > --- > drivers/net/ice/base/ice_switch.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/drivers/net/ice/base/ice_switch.c > b/drivers/net/ice/base/ice_switch.c > index a72f4b430..c22235b68 100644 > --- a/drivers/net/ice/base/ice_switch.c > +++ b/drivers/net/ice/base/ice_switch.c > @@ -93,7 +93,7 @@ u8 dummy_gre_tcp_packet[] =3D { >=20 > 0x45, 0x00, 0x00, 0x14, /* ICE_IPV4_IL 56 */ > 0x00, 0x00, 0x00, 0x00, > - 0x00, 0x00, 0x00, 0x00, > + 0x00, 0x06, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, >=20 > @@ -140,7 +140,7 @@ u8 dummy_gre_udp_packet[] =3D { >=20 > 0x45, 0x00, 0x00, 0x14, /* ICE_IPV4_IL 56 */ > 0x00, 0x00, 0x00, 0x00, > - 0x00, 0x00, 0x00, 0x00, > + 0x00, 0x11, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, > 0x00, 0x00, 0x00, 0x00, >=20 > -- > 2.13.6