Re: [dpdk-dev] [PATCH v2 0/3] ethdev: fix ports enumeration

2018-04-17 Thread Thomas Monjalon
05/04/2018 17:33, Thomas Monjalon: > Some DPDK applications wrongly assume these requirements: > - no hotplug, i.e. ports are never detached > - all allocated ports are available to the application > > Such application iterates over ports by its own mean. > The most common pattern is to reques

[dpdk-dev] [PATCH v2 0/3] ethdev: fix ports enumeration

2018-04-05 Thread Thomas Monjalon
Some DPDK applications wrongly assume these requirements: - no hotplug, i.e. ports are never detached - all allocated ports are available to the application Such application iterates over ports by its own mean. The most common pattern is to request the port count and assume ports with index in