From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 8044A1B3B8; Mon, 9 Jul 2018 14:58:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2018 05:58:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,330,1526367600"; d="scan'208";a="53035082" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by fmsmga007.fm.intel.com with ESMTP; 09 Jul 2018 05:58:32 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 9 Jul 2018 05:58:32 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 9 Jul 2018 05:58:32 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.100]) by shsmsx102.ccr.corp.intel.com ([169.254.2.124]) with mapi id 14.03.0319.002; Mon, 9 Jul 2018 20:58:30 +0800 From: "Zhang, Qi Z" To: "Xing, Beilei" CC: "dev@dpdk.org" , "Wu, Jingjing" , "Zheng, James" , "stable@dpdk.org" Thread-Topic: [PATCH] net/i40e: fix fail to set TPID with AQ command Thread-Index: AQHUFC41gEL7zZK6CEu7IGDZP/b/nKSG4KOg Date: Mon, 9 Jul 2018 12:58:29 +0000 Message-ID: <039ED4275CED7440929022BC67E7061153256203@SHSMSX103.ccr.corp.intel.com> References: <1530774188-2369-1-git-send-email-beilei.xing@intel.com> In-Reply-To: <1530774188-2369-1-git-send-email-beilei.xing@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOGExNjUxZGUtYjY0MC00NzI5LTk0YjMtZmY3MDZmYjVmNDM0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOFg1WlhEdHVpK3RtMFphMnBUelwvTVQxWVpHRkl5UUo4VTY4Q0tsWTZlejNTWE5mRE5Odnh4NGU4UDBwbkJwXC9sIn0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 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-stable] [PATCH] net/i40e: fix fail to set TPID with AQ command X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jul 2018 12:58:37 -0000 > -----Original Message----- > From: Xing, Beilei > Sent: Thursday, July 5, 2018 3:03 PM > To: Zhang, Qi Z > Cc: dev@dpdk.org; Wu, Jingjing ; Zheng, James > ; stable@dpdk.org > Subject: [PATCH] net/i40e: fix fail to set TPID with AQ command >=20 > TPID can be set by set_switch_config AdminQ command on new FW release. > But find fail to set 0x88A8 on some NICs. > According to the datasheet, Switch Tag value should not be identical to e= ither > the First Tag or Second Tag values. > So set something other than common Ethertype for internal switching. >=20 > Fixes: 73cd7d6dc8e1 ("net/i40e: use set switch AQ instead of register set= ting") > Cc: stable@dpdk.org >=20 > Signed-off-by: Beilei Xing Acked-by: Qi Zhang Applied to dpdk-next-net-intel. Thanks! Qi