numam-dpdk/examples/eventdev_pipeline
Thomas Monjalon d9a42a69fe ethdev: deprecate port count function
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 the range [0..count[ can be used.

In order to fix this common mistake in all external applications,
the function rte_eth_dev_count is deprecated, while introducing
the new functions rte_eth_dev_count_avail and rte_eth_dev_count_total.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
2018-04-18 00:48:41 +02:00
..
main.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
Makefile examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
pipeline_common.h examples/eventdev: rename example 2018-01-19 16:09:56 +01:00
pipeline_worker_generic.c fix ethdev ports enumeration 2018-04-18 00:25:27 +02:00
pipeline_worker_tx.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00