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

Iremonger, Bernard bernard.iremonger at intel.com
Thu Oct 25 10:58:01 CEST 2018


Hi Thomas,

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Wednesday, October 24, 2018 8:58 PM
> To: Iremonger, Bernard <bernard.iremonger at intel.com>
> Cc: Wu, Jingjing <jingjing.wu at intel.com>; Lu, Wenzhuo
> <wenzhuo.lu at intel.com>; dev at dpdk.org; ophirmu at mellanox.com;
> wisamm at mellanox.com; Yigit, Ferruh <ferruh.yigit at intel.com>;
> arybchenko at solarflare.com
> Subject: Re: [PATCH 5/5] app/testpmd: setup attached ports on probe event
> 
> 24/10/2018 18:13, Iremonger, Bernard:
> > From: Thomas Monjalon [mailto:thomas at monjalon.net]
> > > +set port setup on
> > > +~~~~~~~~~~~~~~~~~
> > > +
> > > +Select how to retrieve new ports created after "port attach" command.
> > > +
> > > +For each new port, a setup is done.
> > > +It will find the probed ports via RTE_ETH_FOREACH_MATCHING_DEV loop
> > > +in iterator mode, or via RTE_ETH_EVENT_NEW in event mode.
> > > +
> >
> > It would be useful to add an example command here (similar to other
> commands).
> 
> Do you mean something like this?
> 
> 	testpmd> set port setup on (iterator|event)
> 

Yes.

Regards,

Bernard.



More information about the dev mailing list