My one of the Mellanox card is not getting recognized as infiniband/roce device

Hi,

I have ConnectX3 Pro adapter on my rhel 7.0 system.

Red Hat Enterprise Linux Server release 7.0 (Maipo)

lspci | grep -i mel

02:00.0 Network controller: Mellanox Technologies MT27520 Family [ConnectX-3 Pro]

I have Mellanox OFED on my system.

ofed_info -s

MLNX_OFED_LINUX-3.0-1.0.1:

This adapter is not getting recognized as IB/RoCE device there, pl see below:

ibdev2netdev

ls: cannot access /sys/class/infiniband/: No such file or directory

ibv_devinfo

Failed to get IB devices list: Function not implemented

It gets recognized as NIC Interfce in ifconfig, whether MAC address seems to be good there?

ens3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

ether f4:52:14:77:f8:d0 txqueuelen 1000 (Ethernet)

RX packets 198 bytes 27390 (26.7 KiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX packets 0 bytes 0 (0.0 B)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

I have also tried with

ofed_info -s

MLNX_OFED_LINUX-3.1-1.0.3:

and see same behavior.

I want to configure this card for RoCE V2 RDMA_CM and it is not working properly.

Can someone help please?

Thanks.

Hi Anil,

can you please restart the driver and check again?

etc/init.d/openibd restart/

Please also provide the following output:

lsmod | egrep ‘mlx|ib’