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 2AF52A00C5; Thu, 7 May 2020 03:52:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7E5631DA80; Thu, 7 May 2020 03:52:33 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 759771DA5B for ; Thu, 7 May 2020 03:52:31 +0200 (CEST) IronPort-SDR: VhANz3UgytYu6BpR3hnxnq91HyQt+fBk7LSjMlU5R7DIrGuVtWCm66JeazHfyDE4PwN6cgjpVK 489xVblaqdEg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 May 2020 18:52:30 -0700 IronPort-SDR: NYY8HgM64M4N0irh28lCUyRi7dQo2Ogs8nk6R83JLnzNtS6zidEzu4w+zsleeTOgSZAj4iLfXv gIQXgB/8NmxA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,361,1583222400"; d="scan'208";a="284832319" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 06 May 2020 18:52:29 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 6 May 2020 18:52:23 -0700 Received: from shsmsx606.ccr.corp.intel.com (10.109.6.216) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 7 May 2020 09:52:21 +0800 Received: from shsmsx606.ccr.corp.intel.com ([10.109.6.216]) by SHSMSX606.ccr.corp.intel.com ([10.109.6.216]) with mapi id 15.01.1713.004; Thu, 7 May 2020 09:52:21 +0800 From: "Lu, Nannan" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "Zhang, Qi Z" Thread-Topic: [PATCH] net/ice/base: fix pppoe-ipv6 dummy packet error Thread-Index: AQHWJBBy1YHTaVOEbE+n1MMjrab9VKib3CEw Date: Thu, 7 May 2020 01:52:21 +0000 Message-ID: References: <20200507011541.66624-1-wei.zhao1@intel.com> In-Reply-To: <20200507011541.66624-1-wei.zhao1@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] net/ice/base: fix pppoe-ipv6 dummy packet error 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: Lu, Nannan -----Original Message----- From: Zhao1, Wei=20 Sent: Thursday, May 7, 2020 9:16 AM To: dev@dpdk.org Cc: Zhang, Qi Z ; Lu, Nannan ; Z= hao1, Wei Subject: [PATCH] net/ice/base: fix pppoe-ipv6 dummy packet error The dummy packet for pppoe-ipv6 has an error, we should use 0x3b for next h= eader in ipv6 header in the dummy packet, or some case can not be download,= such as: "eth / pppoes seid is 3 / pppoe_proto_id is 0x0057 / end actions vf id 1 / = end" Fixes: 55d61fb27a5e ("net/ice/base: add PPPoE IPv6 dummy packet") Signed-off-by: Wei Zhao --- drivers/net/ice/base/ice_switch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_s= witch.c index 957142a10..a07ceea70 100644 --- a/drivers/net/ice/base/ice_switch.c +++ b/drivers/net/ice/base/ice_switch.c @@ -577,7 +577,7 @@ static const u8 dummy_pppoe_ipv6_packet[] =3D { 0x00, 0x57, /* PPP Link Layer 24 */ =20 0x60, 0x00, 0x00, 0x00, /* ICE_IPV6_OFOS 26 */ - 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x3b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -- 2.19.1