Hello.
I have a ConnectX-5 card, and OFED-4.5 driver. The ib_ipoib kernel module is loaded. But I could not find the “ib0” or other “ibx” interface. There is only a “P4P1” interface, corresponding to mlx5_0 port 1. Is it a IPoIB interface or how could I configure a IPoIB interface?
Thanks.
Thank you. It’s very helpful.
Hi ,
First make sure the interface is working on IB not ETH
-
Run “mst start”
-
Run “mst status” to get the device id
-
Run: mlxconfig -d /dev/mst/mt4115_pciconf0 set LINK_TYPE_P1=1
if there is a second port, then also run:
mlxconfig -d /dev/mst/mt4115_pciconf0 set LINK_TYPE_P2=1
Another Example:
mlxconfig -d mlx5_0 set LINK_TYPE_P1=1
For further information how to use IPOIB, please refer to the MLNX_OFED user manual “IPOIB” section:
https://docs.mellanox.com/pages/viewpage.action?pageId=12013510
Thanks,
Samer
Hi.
I met another problem when I configured the different NICs.
When I executed the same commands on the ConnectX-5 EN cards, it complained that 
And I checked the configure declarement, it said that 
So this action could only be executed on VPI cards?
Thanks.
Yes
Only VPI adapters support Ethernet and Infiniband link type
ConnectX-5 EN supports only Ethernet and doesn’t support IPOIB
Thanks,
Samer