Hello, I met a problem when I set the trust-mode for the ConnectX3-Pro 40GbE NIC.
The system information follows:
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.3.1611 (Core)
Release: 7.3.1611
Codename: Core
The ConnectX3-Pro NIC information follows:
hca_id: mlx4_1
transport: InfiniBand (0)
fw_ver: 2.40.7000
node_guid: f452:1403:0095:2280
sys_image_guid: f452:1403:0095:2280
vendor_id: 0x02c9
vendor_part_id: 4103
hw_ver: 0x0
board_id: MT_1090111023
phys_port_cnt: 2
Device ports:
port: 1
state: PORT_ACTIVE (4)
max_mtu: 4096 (5)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet
port: 2
state: PORT_DOWN (1)
max_mtu: 4096 (5)
active_mtu: 1024 (3)
sm_lid: 0
port_lid: 0
port_lmc: 0x00
link_layer: Ethernet
It’s the first time that I have met this problem. So I don’t know what to do.
What does this tip mean? Is the system version the main cause?
Waiting for your help.
Thanks.
march
2
Hi,
Can you give more details on what you tried and what did you use ?
Thanks
Marc
march
3
Hi,
What is your current system ? Distribution / Kernel
ConnectX-3 Pro
FW version ?
PSID ?
Can you try with the latest Mellanox OFED 4.4 ?
Maybe the p4p1 is not the mellanox interface ?
Maybe it is not configured as ethernet interface ?
Please check
Marc
Hi, Marc.
The system information is as following:

The RNIC information is as following:
And I upgrade the OFED to 4.4, the result is the same.
I have checked the interface parameter and it’s right.
Thanks.
march
5
Hi,
After a first check on my card ConnectX-3, I got the same behavior
It seems to be supported only from ConnectX-4 and above.
If you want me to investigate it more, please open a ticket.
mlnx_qos -i ens6
Buffers commands are not supported on your system
Marc
march
6
Hi
Can you show me ibdev2netdev output
Can u also try
mlnx_qos -i
Thanks
Marc
Hi, Marc.
I installed MLNX_OFED_LINUX-4.1-1.0.2.0 on my server and used the provided tool “mlnx_qos” to set the trust mode for Connect-X 3 Pro.
The command is “mlnx_qos -i p4p1 --trust=dscp”.
Then the result is “Priority trust mode is not supported on your system”.
Thanks
Hi, Marc
Ah…
Sorry, after upgrading OFED to 4.4, the trust mode can be set on RNIC.
But there is another error message: “Buffers commands are not supported on your system”.
Thanks.
march
10
Hi,
Can you make the try to modify the buffer size and send me the output.
ibdev2devnet also , please.
Marc
Hi, Marc
The result is as following:
It seems that the buffer commands is a new feature for PFC in OFED 4.4.
I checked the OFED 4.3 and didn’t see this option for mlnx_qos.
Thanks.
yuxinc
12
Hello, I encountered the same problem as the picture show, what should I do to fix it? I have read this post, but I don’t find a certain solution😥