Re: [dpdk-dev] [PATCH 3/5] app/testpmd: check not configuring port twice

2018-10-24 Thread Iremonger, Bernard
Hi Thomas, > -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, October 24, 2018 2:41 PM > To: Iremonger, Bernard ; Wu, Jingjing > ; Lu, Wenzhuo > Cc: dev@dpdk.org; ophi...@mellanox.com; wis...@mellanox.com; Yigit, > Ferruh ; arybche...@solarflare.c

[dpdk-dev] [PATCH 3/5] app/testpmd: check not configuring port twice

2018-10-24 Thread Thomas Monjalon
It is possible to request probing of a device twice, and possibly get new ports for this device. However, the ports which were already probed and setup must not be setup again. That's why it is checked whether the port is already part of fwd_ports_ids array at the beginning of the function setup_at