[dpdk-dev] [PATCH 2/5] app/testpmd: merge ports list update functions

Iremonger, Bernard bernard.iremonger at intel.com
Wed Oct 24 17:45:07 CEST 2018


> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas at monjalon.net]
> Sent: Wednesday, October 24, 2018 2:41 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 2/5] app/testpmd: merge ports list update functions
> 
> The arrays ports_ids and fwd_ports_ids require the same kind of update when
> some ports are removed or added.
> 
> 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().
> 
> 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