Hello Alberto,
Is this a specific issue with the helloworld?
Does testpmd work ok for you?
Regards,
Asaf Penso
>-----Original Message-----
>From: users <users-bounces@dpdk.org> On Behalf Of Alberto Perro
>Sent: Thursday, May 20, 2021 12:53 PM
>To: users@dpdk.org
>Subject: [dpdk-users] MLX5 configuration and installation
>
>Good morning,
>
>I want to evaluate DPDK on my servers, which are equipped with 4 Mellanox
>ConnectX-5 Ex 2x100G cards.
>I have installed MLNX_OFED 5.3-1.0.0 from nvidia, compiled from source with
>`--upstream-libs --dpdk` flags.
>I downloaded DPDK 20.11 LTS and compiled following the quick start guide.
>I have allocated 1024 2MB hugepages for each NUMA node.
>When I try to run dpdk-helloworld I get:
>
>```
>[aperro@ebstortest02 examples]$ sudo ./dpdk-helloworld
>EAL: Detected 64 lcore(s)
>EAL: Detected 2 NUMA nodes
>EAL: Detected static linkage of DPDK
>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>EAL: Selected IOVA mode 'PA'
>EAL: No available hugepages reported in hugepages-1048576kB
>EAL: Probing VFIO support...
>EAL: VFIO support initialized
>EAL: DPDK is running on a NUMA system, but is compiled without NUMA
>support.
>EAL: This will have adverse consequences for performance and usability.
>EAL: Please use --legacy-mem option, or recompile with NUMA support.
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:81:00.0 (socket 1)
>mlx5_pci: probe of PCI device 0000:81:00.0 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:81:00.0 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:81:00.1 (socket 1)
>mlx5_pci: probe of PCI device 0000:81:00.1 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:81:00.1 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:a1:00.0 (socket 1)
>mlx5_pci: probe of PCI device 0000:a1:00.0 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:a1:00.0 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:a1:00.1 (socket 1)
>mlx5_pci: probe of PCI device 0000:a1:00.1 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:a1:00.1 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:c1:00.0 (socket 1)
>mlx5_pci: probe of PCI device 0000:c1:00.0 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:c1:00.0 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:c1:00.1 (socket 1)
>mlx5_pci: probe of PCI device 0000:c1:00.1 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:c1:00.1 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:c2:00.0 (socket 1)
>mlx5_pci: probe of PCI device 0000:c2:00.0 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:c2:00.0 cannot be used
>EAL: Probe PCI driver: mlx5_pci (15b3:1019) device: 0000:c2:00.1 (socket 1)
>mlx5_pci: probe of PCI device 0000:c2:00.1 aborted after encountering an
>error: Cannot allocate memory
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:c2:00.1 cannot be used
>EAL: No legacy callbacks, legacy socket not created hello from core 1 ...
>```