Re: [PATCH v2] app/test: fix PMD perf test on devices with no socket ID

2022-10-24 Thread David Marchand
On Mon, Oct 24, 2022 at 9:12 AM Olivier Matz wrote: > > If the socket ID of a device is unknown, rte_eth_dev_socket_id(portid) > now returns -1 instead of 0 since commit 7dcd73e37965 ("drivers/bus: set > device NUMA node to unknown by default"). > > This change breaks the pmd_perf test on environm

[PATCH v2] app/test: fix PMD perf test on devices with no socket ID

2022-10-24 Thread Olivier Matz
If the socket ID of a device is unknown, rte_eth_dev_socket_id(portid) now returns -1 instead of 0 since commit 7dcd73e37965 ("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 t