On Mon, Oct 24, 2022 at 9:12 AM Olivier Matz <olivier.m...@6wind.com> 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 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: 7dcd73e37965 ("drivers/bus: set device NUMA node to unknown by 
> default")
>
> Signed-off-by: Olivier Matz <olivier.m...@6wind.com>

>From the bugzilla comments:
Tested-by: Lingli Chen <linglix.c...@intel.com>

Reviewed-by: David Marchand <david.march...@redhat.com>

Applied, thanks.

-- 
David Marchand

Reply via email to