How to check ConnectX-5 EN /ConnectX-3 EN cards work mode

Hello,I’m a newer to RDMA,recently with some necessity,I need to check our RNIC’s work mode(Full Duplex/Half Duplex).I have searched the official documents such as:

Ethernet_Adapters_Programmming_Manual.pdf

Mellanox_EN_for_Linux_release_Nodete.pdf

Mellanox_ibutils_2_for_Linux.pdf

Mellanox_OFED_Linux_User_Manual_v4.0.pdf

MFT_user_manual_4_6_0.pdf

Performance_Tuning_Guide_for_Mellanox_Network_Adapters.pdf

but got nothing.And the command “mii-tool -v p5p1(my card interface name)” shows that Operation not supported.

Aha,I’m exhausted for searching,Can someone help me for this?Very thanks!!!

Environment:

Os:Centos7.3 x64

Hi,

To see the current setting of your card, use ethtool instead of mii-tool.

Regards

Marc

Very thank you! It really works.

I got the answer with your help.

Thanks again!