[dpdk-dev] [PATCH] app/testpmd: remove most uses of rte_eth_devices

2021-07-15 Thread Paulis Gributs
no function call exists to get all mac addresses of a given port. Signed-off-by: Paulis Gributs --- app/test-pmd/testpmd.c | 80 +- app/test-pmd/txonly.c | 18 -- 2 files changed, 71 insertions(+), 27 deletions(-) diff --git a/app/test-pmd

[dpdk-dev] [PATCH] app/testpmd: fix vm_hotplug after removal of rte_eth_devices

2021-07-28 Thread Paulis Gributs
After removing rte_eth_devices from testpmd the vm_hotplug no longer recovered after removal of a device, this patch fixes this issue. Fixes: 0a0821bcf312 ("app/testpmd: remove most uses of internal ethdev array") Signed-off-by: Paulis Gributs --- app/test-pmd/testpmd.c | 8 +-