Re: [dpdk-dev] [PATCH v2 08/11] ethdev: fix port visibility before initialization

2018-05-10 Thread Andrew Rybchenko
On 05/10/2018 01:43 AM, Thomas Monjalon wrote: The port was set to the state ATTACHED during allocation. The consequence was to iterate over ports which are not initialized. The state ATTACHED is now set as the last step of probing. The uniqueness of port name is now checked before the availabi

[dpdk-dev] [PATCH v2 08/11] ethdev: fix port visibility before initialization

2018-05-09 Thread Thomas Monjalon
The port was set to the state ATTACHED during allocation. The consequence was to iterate over ports which are not initialized. The state ATTACHED is now set as the last step of probing. The uniqueness of port name is now checked before the availability of a port id for allocation (order reversed)