DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] MLX5 configuration and installation
@ 2021-05-20  9:52 Alberto Perro
  2021-05-27  7:06 ` Asaf Penso
  0 siblings, 1 reply; 2+ messages in thread
From: Alberto Perro @ 2021-05-20  9:52 UTC (permalink / raw)
  To: users

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
...
```

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-users] MLX5 configuration and installation
  2021-05-20  9:52 [dpdk-users] MLX5 configuration and installation Alberto Perro
@ 2021-05-27  7:06 ` Asaf Penso
  0 siblings, 0 replies; 2+ messages in thread
From: Asaf Penso @ 2021-05-27  7:06 UTC (permalink / raw)
  To: Alberto Perro, users

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 ...
>```

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-27  7:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20  9:52 [dpdk-users] MLX5 configuration and installation Alberto Perro
2021-05-27  7:06 ` Asaf Penso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).