From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 6EAE334F3 for ; Tue, 13 Nov 2018 18:09:34 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Nov 2018 09:09:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,228,1539673200"; d="scan'208";a="86188480" Received: from irsmsx151.ger.corp.intel.com ([163.33.192.59]) by fmsmga008.fm.intel.com with ESMTP; 13 Nov 2018 09:09:32 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.20]) by IRSMSX151.ger.corp.intel.com ([169.254.4.122]) with mapi id 14.03.0415.000; Tue, 13 Nov 2018 17:09:31 +0000 From: "Pattan, Reshma" To: "Kovacevic, Marko" , "dev@dpdk.org" CC: "Yigit, Ferruh" , "Yang, Zhiyong" Thread-Topic: [PATCH] app/pdump: fix port id storage size Thread-Index: AQHUe1z3b11mqCdUiEKJVyFvPthlrKVN78tQ Date: Tue, 13 Nov 2018 17:09:31 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F2A3D304B@irsmsx110.ger.corp.intel.com> References: <20181113142655.28535-1-marko.kovacevic@intel.com> In-Reply-To: <20181113142655.28535-1-marko.kovacevic@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMTE4Yjg4YmYtZDRkNi00NGU5LWIzNGQtZWYzMDY1ZjhiMmNhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoieHlDSmVLTnFKaHN0N1B2UHlsdjFNMTYyWFlXOUdlUGJnVnVQQitGSWV5K3hzTnFQa0QyM1FYWEVPVFd2WUZjUSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/pdump: fix port id storage size 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: Tue, 13 Nov 2018 17:09:34 -0000 > -----Original Message----- > From: Kovacevic, Marko > Sent: Tuesday, November 13, 2018 2:27 PM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Pattan, Reshma > ; Kovacevic, Marko ; > Yang, Zhiyong > Subject: [PATCH] app/pdump: fix port id storage size >=20 > port_id size should be uint16_t, > fix where it is defined as uint8_t >=20 > Fixes: f8244c6399d9 ("ethdev: increase port id range") > Cc: zhiyong.yang@intel.com >=20 > Signed-off-by: Marko Kovacevic > --- > app/pdump/main.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 > diff --git a/app/pdump/main.c b/app/pdump/main.c index d96556e..baabd04 > 100644 > --- a/app/pdump/main.c > +++ b/app/pdump/main.c > @@ -266,7 +266,7 @@ parse_pdump(const char *optarg) > &parse_uint_value, &v); > if (ret < 0) Can you also int type to unit16_t for below two.=20 int rx_vdev_id; int tx_vdev_id; Thanks, Reshma