Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

(FIXED) mellanox nic - wrong ib/ether detection

Please help.

I encountered the problem described here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=857976

May be anyone have solution for this trouble?

UPDATE: In 2.7.1 this issue has been fixed.

Hello, it may help you

you must change Port Type from your MLX Card

InfiniBand (1)
Ethernet (2)
AutoSense (3)

default set is 3

 

set port type to 2 (edit /dev/mtXXXX_pciconfX)

mst status

mlxconfig -d /dev/mt4121_pciconf0 set LINK_TYPE_P1=2 LINK_TYPE_P2=2

reboot

Info: https://community.mellanox.com/s/article/how-to-manage-port-type-in-mellanox-connectx--174--4-connectx--174--4-lx-connectx--174--5-adapters-for-vmware-esxi-6-x

 

Best Regards

Unfortunately not. 🙁

First esxi not absolutely Linux.
Secondly, the problem here is not so much that the network card says that it is included in the infiniband, but that the ifup incorrectly determines card connection. And in the new version, this is fixed.

This quote from patch for ifupdown, as I unnderstand accepted in version 0.8.27 (petasan uses 0.8.17ubuntu1.1)

Detecting an Infiniband interface by testing for the existence of
/sys/class/net/%link%/device/infiniband is unreliable, as an
Infiniband capable port running in Ethernet mode may still have
the Infiniband directory in sysfs. When this type of port is in
Ethernet mode, ifupdown attempts and fails to create an Infiniband
partition on the Ethernet port, instead of creating a VLAN.

what Mellanox cards used ?

 

Best regards

Quote from Kurti2k on April 17, 2020, 10:04 am

what Mellanox cards used ?

Mellanox Technologies MT27710 Family [ConnectX-4 Lx]

Additional information: Looks like to replacing ifupdown package to ifupdown2 resolve this trouble. I'm not sure that such a replacement will not break anything else, but it solves this problem.