numam-dpdk/examples/qos_sched
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
..
app_thread.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
args.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cfg_file.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cfg_file.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
cmdline.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
init.c ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
main.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
main.h examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
Makefile ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
meson.build ethdev: deprecate port count function 2018-04-18 00:48:41 +02:00
profile_ov.cfg remove trailing whitespaces 2014-06-11 00:29:34 +02:00
profile.cfg doc: drop old naming of the project 2016-02-10 15:47:51 +01:00
stats.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00