Our client has a ConnectX-6 Dx Ethernet adapter, installed on a PCI slot belonging to NUMA socket 1. When DPDK is initialized with flags "--socket-limit 1,2048 -a c1:00.0", PCI probe fails with this message: EAL: No available 2048 kB hugepages reported EAL: No free 2048 kB hugepages reported on node 0 EAL: No free 2048 kB hugepages reported on node 1 EAL: No available 2048 kB hugepages reported mlx5_net: probe of PCI device 0000:c1:00.0 aborted after encountering an error: Cannot allocate memory mlx5_common: Failed to load driver mlx5_eth EAL: Requested device 0000:c1:00.0 cannot be used EAL: Bus (pci) probe failed. I suspect somewhere in the driver is trying to allocate certain objects on NUMA socket 0, but I don't know which. It should be changed to allow allocation on any NUMA socket.
Can you try to reproduce with the following patch? https://git.dpdk.org/dpdk/commit/?id=147f6fb42b
Hello, have you tried the patch Lior mentioned? Do you see the issue also with upstream version?