From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH] app/testpmd: fix slave port detection Date: Mon, 14 May 2018 04:00:56 +0200 Message-ID: <2951805.7A76KTY0QU@xps> References: <1522235873-22042-1-git-send-email-matan@mellanox.com> <2044227.RGsR745gvM@xps> <8CEF83825BEC744B83065625E567D7C24E0CA4F4@IRSMSX108.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, "Iremonger, Bernard" , "Lu, Wenzhuo" , "Doherty, Declan" , "dev@dpdk.org" , "Yigit, Ferruh" To: Matan Azrad Return-path: In-Reply-To: <8CEF83825BEC744B83065625E567D7C24E0CA4F4@IRSMSX108.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > > Testpmd allows to create and control bonding devices by run time > > > command lines using the bonding PMD API. > > > > > > Some bonding device slaves operations(close, stop, etc) should not be > > > used by the application and must be managed by the bonding PMD. > > > > > > Thus, Testpmd manages slave flags to prevent the special operations > > > calls and when a slave is added to bonding device by a run time > > > command line, the flag is set. > > > > > > There is one more way to define the slaves for a bonding device using > > > EAL command line and Testpmd doesn't set the slave flag in this case > > > what causes to the special operations to be called by Testpmd. > > > > > > Add one more check to detect bonding slave device. > > > > > > Fixes: 41b05095c4d1 ("app/testpmd: fix bonding start") > > > Fixes: 0e545d3047fe ("app/testpmd: check stopping port is not in > > > bonding") > > > Cc: stable@dpdk.org > > > > > > Signed-off-by: Matan Azrad > > Acked-by: Bernard Iremonger Applied, thanks