numam-dpdk/app
Olivier Matz 011c617ca2 test/pmd_perf: fix test on devices with no socket ID
If the socket ID of a device is unknown, rte_eth_dev_socket_id(portid)
now returns -1 instead of 0 since commit 7dcd73e379 ("drivers/bus: set
device NUMA node to unknown by default").

This change breaks the pmd_perf test on environment where the device
socket ID is unknown. The test fails with the following error, because
it does not find a lcore on socket -1:

> No avail lcore to run test

Take the new behavior in account in the pmd_perf test: in this
environment, the test can now run on any lcore, and not only those from
socket 0 (this was the old behavior).

Bugzilla ID: 1105
Fixes: 7dcd73e379 ("drivers/bus: set device NUMA node to unknown by default")

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Tested-by: Lingli Chen <linglix.chen@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2022-10-24 13:33:49 +02:00
..
dumpcap app/dumpcap: add file-prefix option 2022-10-21 15:13:25 +02:00
pdump app/pdump: free mempool at resources cleanup 2022-03-08 00:19:31 +01:00
proc-info dev: introduce device accessors 2022-09-23 16:14:34 +02:00
test test/pmd_perf: fix test on devices with no socket ID 2022-10-24 13:33:49 +02:00
test-acl app/acl: support different formats for IPv6 address 2022-05-30 23:31:37 +02:00
test-bbdev bbdev: expose queue related warning and status 2022-10-07 08:44:58 +02:00
test-cmdline
test-compress-perf bus: move IOVA definition from header 2022-09-23 16:14:34 +02:00
test-crypto-perf mbuf: add helper to get/set IOVA address 2022-10-08 23:58:26 +02:00
test-eventdev ethdev: remove Rx header split port offload 2022-10-04 11:20:04 +02:00
test-fib eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
test-flow-perf app/flow-perf: add hairpin queue memory config 2022-10-08 18:30:50 +02:00
test-gpudev gpudev: use CPU mapping in communication list 2022-02-22 20:08:52 +01:00
test-pipeline ethdev: remove Rx header split port offload 2022-10-04 11:20:04 +02:00
test-pmd app/testpmd: add protocol-based buffer split 2022-10-09 16:41:31 +02:00
test-regex app/regex: add match mode option 2022-10-09 15:11:58 +02:00
test-sad eal: remove unneeded includes from a public header 2022-09-21 15:31:03 +02:00
meson.build build: make pdump optional 2021-11-17 12:49:19 +01:00