ibportstate disable port and unrecoverable

hello,

We have Mellanox Infiniband ConnectX-5 VPI adapter card to test rdma, now i am in trouble.

1 i find when use command ifdown, the IP disappeared, but the connection eastablished will have no affect, still have IO throgh port.

Is there a solution to archive the effect like ifdown/ifup on Ethernet (easily disconnect the network and rdma IO)?

2 well, i find a solution, use command ibportstate lid port disable ,it is really works, at lease no IO anymore.

Unfortunately, this port can not recover to link-up, even after reboot.

ibportstate lid port enable not work and mlxlink not work yet.

How to make port link-up again?

best regards

thanks

Hi ,

You can use the mlxlink command for that :

  • Mlxlink -d -a DN

  • Mlxlink -d -a UP

And also for toggling the link

  • Mlxlink -d -a TG

Thanks,

Samer

2 well, i find a solution, use command ibportstate lid port disable ,it is really works, at lease no IO anymore.

Unfortunately, this port can not recover to link-up, even after reboot.

ibportstate lid port enable not work and mlxlink not work yet.

How to make port link-up again?

I had exactly the same problem and this worked for me:

mlxfwreset -d -l 3 reset