a9dbe18022
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 assume a valid port index is in the range [0..count[. There are three consequences when using such wrong design: - new ports having an index higher than the port count won't be valid - old ports being detached (RTE_ETH_DEV_UNUSED) can be valid Such mistake will be less common with growing hotplug awareness. All applications and examples inside this repository - except testpmd - must be fixed to use the function rte_eth_dev_is_valid_port. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> |
||
---|---|---|
.. | ||
examples | ||
action.c | ||
action.h | ||
cli.c | ||
cli.h | ||
common.h | ||
conn.c | ||
conn.h | ||
hash_func_arm64.h | ||
hash_func.h | ||
kni.c | ||
kni.h | ||
link.c | ||
link.h | ||
main.c | ||
Makefile | ||
mempool.c | ||
mempool.h | ||
meson.build | ||
parser.c | ||
parser.h | ||
pipeline.c | ||
pipeline.h | ||
swq.c | ||
swq.h | ||
tap.c | ||
tap.h | ||
thread.c | ||
thread.h | ||
tmgr.c | ||
tmgr.h |