Unable to recognize master/representor on the multiple IB devices

854 views Asked by At

I am getting 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=

I am assuming both of them are same? 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), DPDK 21.02

lsmod | egrep 'mlx|ib'

libceph               413696  1 ceph
ib_isert               49152  0
iscsi_target_mod      315392  1 ib_isert
ib_srpt                61440  0
target_core_mod       372736  3 iscsi_target_mod,ib_srpt,ib_isert
ib_srp                 61440  0
scsi_transport_srp     28672  1 ib_srp
ib_iser                45056  0
ib_umad                36864  0
rdma_cm               114688  6 rpcrdma,ib_srpt,ib_srp,ib_iser,ib_isert,rdma_ucm
ib_ipoib              114688  0
libiscsi               65536  1 ib_iser
scsi_transport_iscsi   126976  2 ib_iser,libiscsi
ib_cm                 122880  4 rdma_cm,ib_ipoib,ib_srpt,ib_srp
mlx5_ib               331776  0
mlx4_ib               196608  0
ib_uverbs             147456  3 mlx4_ib,rdma_ucm,mlx5_ib
ib_core               356352  14 rdma_cm,ib_ipoib,rpcrdma,mlx4_ib,ib_srpt,ib_srp,iw_cm,ib_iser,ib_umad,ib_isert,rdma_ucm,ib_uverbs,ml
5_ib,ib_cm
libcrc32c              16384  5 nf_conntrack,nf_nat,nf_tables,xfs,libceph
mlx4_en               118784  0
mlx4_core             319488  2 mlx4_ib,mlx4_en
mlx5_core             700416  1 mlx5_ib
mlxfw                  32768  1 mlx5_core
pci_hyperv_intf        16384  1 mlx5_core
ptp                    28672  3 igb,mlx4_en,mlx5_core
libahci                36864  1 ahci
libata                253952  2 libahci,ahci
0

There are 0 answers