DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Unable to recognize master/representor on the multiple IB devices
@ 2021-05-22 18:42 Sankalpa Timilsina
  2021-05-23  0:13 ` Xueming(Steven) Li
  0 siblings, 1 reply; 4+ messages in thread
From: Sankalpa Timilsina @ 2021-05-22 18:42 UTC (permalink / raw)
  To: users

 Hi, I am getting a DPDK MLX5 probing issue.

   1. I have installed the mlx5/ofed driver
   2. I have loaded the kernel modules.

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:5e:00.0 (socket 0)
mlx5_pci: unable to recognize master/representors on the multiple IB devices
common_mlx5: Failed to load driver = mlx5_pci.

EAL: Requested device 0000:5e:00.0 cannot be used
EAL: Bus (pci) probe failed.

As for the 'failing to load mlx5_pci' driver, I can see that the mlx5_core
driver is loaded.

dpdk-devbind.py -s

Network devices using kernel driver
===================================
0000:5e:00.0 'MT27700 Family [ConnectX-4]' if=enp94s0 drv=mlx5_core unused=

What does failing to recognize master/representors on multiple IB devices
mean?

My configuration is: CentOS 7.9, Linux Kernel 5.12, OFED 4.9 (LTS)

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

* Re: [dpdk-users] Unable to recognize master/representor on the multiple IB devices
  2021-05-22 18:42 [dpdk-users] Unable to recognize master/representor on the multiple IB devices Sankalpa Timilsina
@ 2021-05-23  0:13 ` Xueming(Steven) Li
  0 siblings, 0 replies; 4+ messages in thread
From: Xueming(Steven) Li @ 2021-05-23  0:13 UTC (permalink / raw)
  To: Sankalpa Timilsina, users

Hi Sankalpa,

Have you enabled SRIOV and switchdev mode correctly? Is there any error in demsg?
Here is the regular steps:
1. enable sriov - new VF ports shown in `ip link`
2. unbind VFs - new VF ports disappear
3. enable switchdev mode - new representor ports shown in `ip link`
4. bind VFs again or passthrough to VM

Best Regards,
Xueming

> -----Original Message-----
> From: users <users-bounces@dpdk.org> On Behalf Of Sankalpa Timilsina
> Sent: Sunday, May 23, 2021 2:43 AM
> To: users@dpdk.org
> Subject: [dpdk-users] Unable to recognize master/representor on the multiple IB devices
> 
>  Hi, I am getting a DPDK MLX5 probing issue.
> 
>    1. I have installed the mlx5/ofed driver
>    2. I have loaded the kernel modules.
> 
> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
> EAL: Selected IOVA mode 'PA'
> EAL: No available hugepages reported in hugepages-2048kB
> EAL: Probing VFIO support...
> EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:5e:00.0 (socket 0)
> mlx5_pci: unable to recognize master/representors on the multiple IB devices
> common_mlx5: Failed to load driver = mlx5_pci.
> 
> EAL: Requested device 0000:5e:00.0 cannot be used
> EAL: Bus (pci) probe failed.
> 
> As for the 'failing to load mlx5_pci' driver, I can see that the mlx5_core driver is loaded.
> 
> dpdk-devbind.py -s
> 
> Network devices using kernel driver
> ===================================
> 0000:5e:00.0 'MT27700 Family [ConnectX-4]' if=enp94s0 drv=mlx5_core unused=
> 
> What does failing to recognize master/representors on multiple IB devices mean?
> 
> My configuration is: CentOS 7.9, Linux Kernel 5.12, OFED 4.9 (LTS)

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

* Re: [dpdk-users] Unable to recognize master/representor on the multiple IB devices
  2021-05-22 17:58 Sankalpa Timilsina
@ 2021-05-27  7:05 ` Asaf Penso
  0 siblings, 0 replies; 4+ messages in thread
From: Asaf Penso @ 2021-05-27  7:05 UTC (permalink / raw)
  To: Sankalpa Timilsina, users

Hello Sankalpa,

Are you seeing this with testpmd? If so can you provide the command line?
If not, can you provide the EAL parameters and the devargs used?

Regards,
Asaf Penso

>-----Original Message-----
>From: users <users-bounces@dpdk.org> On Behalf Of Sankalpa Timilsina
>Sent: Saturday, May 22, 2021 8:58 PM
>To: users@dpdk.org
>Subject: [dpdk-users] Unable to recognize master/representor on the
>multiple IB devices
>
> Hi, I am getting a DPDK MLX5 probing issue.
>
>   1. I have installed the mlx5/ofed driver
>   2. I have loaded the kernel modules.
>
>EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>EAL: Selected IOVA mode 'PA'
>EAL: No available hugepages reported in hugepages-2048kB
>EAL: Probing VFIO support...
>EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:5e:00.0 (socket 0)
>mlx5_pci: unable to recognize master/representors on the multiple IB devices
>common_mlx5: Failed to load driver = mlx5_pci.
>
>EAL: Requested device 0000:5e:00.0 cannot be used
>EAL: Bus (pci) probe failed.
>
>As for the 'failing to load mlx5_pci' driver, I can see that the mlx5_core driver is
>loaded.
>
>dpdk-devbind.py -s
>
>Network devices using kernel driver
>===================================
>0000:5e:00.0 'MT27700 Family [ConnectX-4]' if=enp94s0 drv=mlx5_core
>unused=
>
>What does failing to recognize master/representors on multiple IB devices
>mean?
>
>My configuration is: CentOS 7.9, Linux Kernel 5.12, OFED 4.9 (LTS)

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

* [dpdk-users] Unable to recognize master/representor on the multiple IB devices
@ 2021-05-22 17:58 Sankalpa Timilsina
  2021-05-27  7:05 ` Asaf Penso
  0 siblings, 1 reply; 4+ messages in thread
From: Sankalpa Timilsina @ 2021-05-22 17:58 UTC (permalink / raw)
  To: users

 Hi, I am getting a DPDK MLX5 probing issue.

   1. I have installed the mlx5/ofed driver
   2. I have loaded the kernel modules.

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: Probe PCI driver: mlx5_pci (15b3:1013) device: 0000:5e:00.0 (socket 0)
mlx5_pci: unable to recognize master/representors on the multiple IB devices
common_mlx5: Failed to load driver = mlx5_pci.

EAL: Requested device 0000:5e:00.0 cannot be used
EAL: Bus (pci) probe failed.

As for the 'failing to load mlx5_pci' driver, I can see that the mlx5_core
driver is loaded.

dpdk-devbind.py -s

Network devices using kernel driver
===================================
0000:5e:00.0 'MT27700 Family [ConnectX-4]' if=enp94s0 drv=mlx5_core unused=

What does failing to recognize master/representors on multiple IB devices
mean?

My configuration is: CentOS 7.9, Linux Kernel 5.12, OFED 4.9 (LTS)

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

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-22 18:42 [dpdk-users] Unable to recognize master/representor on the multiple IB devices Sankalpa Timilsina
2021-05-23  0:13 ` Xueming(Steven) Li
  -- strict thread matches above, loose matches on Subject: below --
2021-05-22 17:58 Sankalpa Timilsina
2021-05-27  7:05 ` 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).