From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by dpdk.org (Postfix) with ESMTP id 253A54B4B; Mon, 15 Jan 2018 17:14:47 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 15 Jan 2018 08:14:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,364,1511856000"; d="scan'208";a="195604323" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 15 Jan 2018 08:14:34 -0800 Received: from fmsmsx155.amr.corp.intel.com (10.18.116.71) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 15 Jan 2018 08:14:34 -0800 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX155.amr.corp.intel.com (10.18.116.71) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 15 Jan 2018 08:14:33 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.213]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 00:14:32 +0800 From: "Zhang, Helin" To: "Xing, Beilei" , "Xu, Rosen" , "Zhang, Qi Z" CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH v2] net/i40e: fix issue of pctype doesn't take effect in X722 Thread-Index: AQHTjejSebioE9/g9UOeQkveh8fHFaN0uFQAgABjjbA= Date: Mon, 15 Jan 2018 16:14:32 +0000 Message-ID: References: <1515740544-62985-1-git-send-email-rosen.xu@intel.com> <1516010755-136835-1-git-send-email-rosen.xu@intel.com> <94479800C636CB44BD422CB454846E013208C99F@SHSMSX101.ccr.corp.intel.com> In-Reply-To: <94479800C636CB44BD422CB454846E013208C99F@SHSMSX101.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: 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 v2] net/i40e: fix issue of pctype doesn't take effect in X722 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: , X-List-Received-Date: Mon, 15 Jan 2018 16:14:52 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Xing, Beilei > Sent: Monday, January 15, 2018 6:18 PM > To: Xu, Rosen; Zhang, Qi Z > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix issue of pctype doesn't = take > effect in X722 >=20 >=20 >=20 > > -----Original Message----- > > From: Xu, Rosen > > Sent: Monday, January 15, 2018 6:06 PM > > To: Xing, Beilei ; Zhang, Qi Z > > > > Cc: dev@dpdk.org; stable@dpdk.org > > Subject: [PATCH v2] net/i40e: fix issue of pctype doesn't take effect > > in X722 > > > > Pctype should be setted after Port's MAC type setted, but in current > > code pctype is setted before Port's MAC type setted. Move pctype > > initialization after shared code initialization which initialize Port's= MARC type. > > > > Fixes: a286ebeb0714 ("net/i40e: add dynamic mapping of SW flow types > > to HW pctypes") > > Cc: stable@dpdk.org > > > > Signed-off-by: Rosen Xu > Acked-by: Beilei Xing Applied to dpdk-next-net-intel, with minor commit log changes. Thanks! /Helin