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 220077CDE for ; Thu, 18 Oct 2018 15:25:31 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Oct 2018 06:25:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,396,1534834800"; d="scan'208,217";a="82475427" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga008.jf.intel.com with ESMTP; 18 Oct 2018 06:25:29 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.319.2; Thu, 18 Oct 2018 14:22:49 +0100 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX156.ger.corp.intel.com ([169.254.3.178]) with mapi id 14.03.0319.002; Thu, 18 Oct 2018 14:22:49 +0100 From: "Iremonger, Bernard" To: Wisam Monther , Thomas Monjalon CC: "dev@dpdk.org" , "Yigit, Ferruh" , "arybchenko@solarflare.com" , Ophir Munk , "rahul.lakkireddy@chelsio.com" Thread-Topic: [dpdk-dev] [PATCH v5 1/6] app/testpmd: fix ports list after removing several at once Thread-Index: AQHUZoFIrvqYSgZKkECV9iUkxJ1NeaUky2UAgAACaACAAAWagIAAKnng Date: Thu, 18 Oct 2018 13:22:48 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D12E08@IRSMSX107.ger.corp.intel.com> References: <20180907233929.21950-1-thomas@monjalon.net> <20181018012402.1240-2-thomas@monjalon.net> <8CEF83825BEC744B83065625E567D7C260D12CD2@IRSMSX107.ger.corp.intel.com>, <4896325.UA0OBGhyO2@xps> In-Reply-To: Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2M5YjYwMWEtMzgxMi00ODcxLWI1MTktMzIxZDQ1YzhiY2IzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNUJOelg5ZGdHSkIyczRUTTdqZWNRSnZNN09zVDNROXlyMnpUK0d1cUlQZnBPMGZXVXFlcHk0OEtoZlJXT2VKNSJ9 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] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v5 1/6] app/testpmd: fix ports list after removing several at once 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: Thu, 18 Oct 2018 13:25:32 -0000 Hi Wisam, From: Wisam Monther [mailto:wisamm@mellanox.com] Sent: Thursday, October 18, 2018 12:49 PM To: Thomas Monjalon ; Iremonger, Bernard Cc: dev@dpdk.org; Yigit, Ferruh ; arybchenko@solarf= lare.com; Ophir Munk ; rahul.lakkireddy@chelsio.com Subject: RE: [dpdk-dev] [PATCH v5 1/6] app/testpmd: fix ports list after re= moving several at once Are we saving cycles by set it to be <=3D instead of < _ +1? No idea, just looks cleaner to me. BRs, Wisam Jaddo Regards, Bernard.