On 9/14/21 12:10 AM, David Marchand wrote:
On Fri, Sep 10, 2021 at 6:54 PM Pablo de Lara
<pablo.de.lara.gua...@intel.com> wrote:

rte_efd_create() function was using uint8_t for a socket bitmask,
for one of its parameters.
This limits the maximum of NUMA sockets to be 8.
Changing to to uint64_t increases it to 64, which should be
more future-proof.

Cc: ppc maintainer, since I think powerX servers have non contiguous
NUMA sockets.

Definitely correct, POWER CPU NUMA sockets are not necessarily contiguous.

Can you update efd_autotest and efd_perf_autotest as well? After applying this patch the test still fails on my POWER9 system:

$ sudo /home/drc/src/dpdk/build/app/test/dpdk-test -l 64-127 -n 4 --no-pci
...
RTE>>efd_autotest
Entering test_add_delete
EFD: At least one CPU socket must be enabled in the bitmask
EAL: Test assert test_add_delete line 125 failed: Error creating the EFD table

Test Failed
RTE>>

On this system lcores 64-127 reside on NUMA socket 8.

Dave

Reply via email to