> -----Original Message----- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, October 24, 2018 2:41 PM > To: Iremonger, Bernard <bernard.iremon...@intel.com>; Wu, Jingjing > <jingjing...@intel.com>; Lu, Wenzhuo <wenzhuo...@intel.com> > Cc: dev@dpdk.org; ophi...@mellanox.com; wis...@mellanox.com; Yigit, > Ferruh <ferruh.yi...@intel.com>; arybche...@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 <tho...@monjalon.net>
Acked-by: Bernard Iremonger <bernard.iremon...@intel.com>