[dpdk-dev] [PATCH v2 5/5] app/testpmd: setup attached ports on probe event

Iremonger, Bernard bernard.iremonger at intel.com
Thu Oct 25 18:07:56 CEST 2018


> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Thursday, October 25, 2018 4:11 PM
> To: Iremonger, Bernard <bernard.iremonger at intel.com>; Wu, Jingjing
> <jingjing.wu at intel.com>; Lu, Wenzhuo <wenzhuo.lu at intel.com>
> Cc: dev at dpdk.org; ophirmu at mellanox.com; wisamm at mellanox.com; Yigit,
> Ferruh <ferruh.yigit at intel.com>; arybchenko at solarflare.com
> Subject: [PATCH v2 5/5] app/testpmd: setup attached ports on probe event
> 
> After probing is done, each new port must be setup.
> The new ports are currently guessed by iterating on ports matching the devargs
> string used for probing.
> 
> When probing a port, it is possible that one more port probing get triggered (e.g.
> PF is automatically probed when probing a VF representor). Such automatic
> probing will be caught only on event.
> 
> The iterator loop may be replaced by a call from the event callback.
> In order to be able to test both modes, a command is added to choose between
> iterator and event modes.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>




More information about the dev mailing list