From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7F3F82951 for ; Fri, 5 Jan 2018 01:58:08 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Jan 2018 16:58:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,316,1511856000"; d="scan'208";a="164303616" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 04 Jan 2018 16:58:07 -0800 Received: from fmsmsx111.amr.corp.intel.com (10.18.116.5) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 4 Jan 2018 16:58:07 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx111.amr.corp.intel.com (10.18.116.5) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 4 Jan 2018 16:58:06 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.189]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Fri, 5 Jan 2018 08:58:04 +0800 From: "Lu, Wenzhuo" To: "Wu, Yanglong" , "dev@dpdk.org" CC: "Yang, Zhiyong" , "Wu, Yanglong" Thread-Topic: [dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue Thread-Index: AQHTg4uyKEkJcU1fok2ix8E7Otc0mKNkeUUQ Date: Fri, 5 Jan 2018 00:58:03 +0000 Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09093B709BF3@shsmsx102.ccr.corp.intel.com> References: <20171222074807.122265-1-yanglong.wu@intel.com> <20180102053542.128402-1-yanglong.wu@intel.com> In-Reply-To: <20180102053542.128402-1-yanglong.wu@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 v3] app/testpmd: fix port_id alloction issue 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: Fri, 05 Jan 2018 00:58:08 -0000 Hi, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Yanglong Wu > Sent: Tuesday, January 2, 2018 1:36 PM > To: dev@dpdk.org > Cc: Yang, Zhiyong ; Wu, Yanglong > > Subject: [dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue >=20 > In the feature of increasing port_id range from 8 bits to 16 bits, vlan p= ort_id > allocation function was forget to substitute UINT8 with UINT16, so the vl= an > port_id was allocated as a inccrete number. >=20 > Fixes:28caa76aea71 ("app/testpmd: fix port id type") >=20 > Signed-off-by: Yanglong Wu > Reviewed-by: Zhiyong Yang Acked-by: Wenzhuo Lu