numam-dpdk/app
Paulis Gributs 0a0821bcf3 app/testpmd: remove most uses of internal ethdev array
This patch removes most uses of the global variable rte_eth_devices
from testpmd. This was done to avoid using the object directly which
applications should not do.

Most uses have been replaced with standard function calls, however
the use of it in the show_macs function could not be replaced as no
function call exists to get all mac addresses of a given port.

Signed-off-by: Paulis Gributs <paulis.gributs@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
2021-07-24 14:41:45 +02:00
..
pdump app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
proc-info app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test test/crypto: check raw API support 2021-07-21 15:12:02 +02:00
test-acl app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-bbdev app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-cmdline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-compress-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-crypto-perf app/crypto-perf: fix out-of-place mempool allocation 2021-07-07 21:28:39 +02:00
test-eventdev app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-fib app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-flow-perf app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pipeline app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-pmd app/testpmd: remove most uses of internal ethdev array 2021-07-24 14:41:45 +02:00
test-regex app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
test-sad app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00
meson.build app/testpmd: build on Windows 2021-07-02 19:03:03 +02:00