From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id ADAF65F1C for ; Wed, 24 Oct 2018 17:45:11 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Oct 2018 08:45:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,420,1534834800"; d="scan'208";a="102116632" Received: from irsmsx105.ger.corp.intel.com ([163.33.3.28]) by fmsmga001.fm.intel.com with ESMTP; 24 Oct 2018 08:45:07 -0700 Received: from irsmsx156.ger.corp.intel.com (10.108.20.68) by irsmsx105.ger.corp.intel.com (163.33.3.28) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 24 Oct 2018 16:45:07 +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; Wed, 24 Oct 2018 16:45:07 +0100 From: "Iremonger, Bernard" To: Thomas Monjalon , "Wu, Jingjing" , "Lu, Wenzhuo" CC: "dev@dpdk.org" , "ophirmu@mellanox.com" , "wisamm@mellanox.com" , "Yigit, Ferruh" , "arybchenko@solarflare.com" Thread-Topic: [PATCH 2/5] app/testpmd: merge ports list update functions Thread-Index: AQHUa59E+um3Ngsr20iXfk09BYdGkKUuiY6g Date: Wed, 24 Oct 2018 15:45:07 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D16FA6@IRSMSX107.ger.corp.intel.com> References: <20181024134111.26771-1-thomas@monjalon.net> <20181024134111.26771-3-thomas@monjalon.net> In-Reply-To: <20181024134111.26771-3-thomas@monjalon.net> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYWQ0OGVmNDgtMzZkYy00YTJlLWIxNzYtOWRhZThiYzEwMmM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiM01SM0RtN2d4Sll5TXlXWE1pcm95MzMwekxZVktWaGF0SWRMRE44UGtMYnptNkU1TFFIXC9QNzhlRzUrRm9NRVMifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH 2/5] app/testpmd: merge ports list update functions 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: Wed, 24 Oct 2018 15:45:12 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas@monjalon.net] > Sent: Wednesday, October 24, 2018 2:41 PM > To: Iremonger, Bernard ; Wu, Jingjing > ; Lu, Wenzhuo > Cc: dev@dpdk.org; ophirmu@mellanox.com; wisamm@mellanox.com; Yigit, > Ferruh ; arybchenko@solarflare.com > Subject: [PATCH 2/5] app/testpmd: merge ports list update functions >=20 > The arrays ports_ids and fwd_ports_ids require the same kind of update wh= en > some ports are removed or added. >=20 > The functions update_fwd_ports() and remove_unused_fwd_ports() are merged > in the new function remove_invalid_ports(). > The part for adding new port is moved into setup_attached_port(). >=20 > Signed-off-by: Thomas Monjalon Acked-by: Bernard Iremonger