Hi, I have Mellanox Technologies MT27800 Family [ConnectX-5] adapter in a server.
Installed OS: Fedora 35.
Without drivers I can seeibp175s0f0 and ibp175s0f1 network adapters with link_layer: InfiniBand status.
After RPMS_ETH installation there is no network adapters.
ibstatus shows:
Infiniband device ‘mlx5_0’ port 1 status:
base lid: 0xffff
sm lid: 0x0
state: 1: DOWN
phys state: 3: Disabled
rate: 10 Gb/sec (4X SDR)
link_layer: InfiniBand
Infiniband device ‘mlx5_1’ port 1 status:
base lid: 0xffff
sm lid: 0x0
state: 1: DOWN
phys state: 2: Polling
rate: 10 Gb/sec (4X SDR)
link_layer: InfiniBand
Please help, how can I switch mlx device to Ethernet state?
MvB
2
Hello Andrey,
Thank you for posting your inquiry on the NVIDIA Networking Community.
You can change the port type with the following instructions:
- From you local repo or OS repo, install the ‘mstflint’ rpm → # dnf install mstflint
- Change the port-type of the adapter with the following syntax → # mstconfig -d set LINK_TYPE_P1=2
- Reset the adapter to make the change active → # mstfwreset -d -l3 -y reset
After the reset, the port link type is set to ‘Ethernet’
Thank you and regards,
~NVIDIA Networking Technical Support
Thanks. Tried to find this info in any docs. No success.
After
mstconfig -d mlx5_0 set LINK_TYPE_P1=2
mstfwreset -d mlx5_0 -l3 -y reset
mstconfig -d mlx5_1 set LINK_TYPE_P1=2
mstfwreset -d mlx5_1 -l3 -y reset
I got new wired connection in my system.
weird, but second port is still InfiniBand.
Infiniband device ‘mlx5_0’ port 1 status:
link_layer: Ethernet
Infiniband device ‘mlx5_1’ port 1 status:
link_layer: InfiniBand
Configurations: Next Boot New
LINK_TYPE_P1 ETH(2) ETH(2)
This commands did not help.
mstconfig -d mlx5_1 set LINK_TYPE_P1=2
mstfwreset -d mlx5_1 -l3 -y reset
Oh, after query found port2
mstconfig -d mlx5_0 set LINK_TYPE_P2=2