Hello all
I have some ConnectX6-Dxs (106ANCDAT) connected to Cisco switch(N5624Q) and have some RoCEv2 congestion scenarios.
At First, I enabled PFC on Cisco switch but I didn’t enabled PFC on NIC.
Thus, NIC never paused but it controls its sending rate with CNP and DCQCN (I could observe increasing CNPs from /sys/class/infiniband/mlx5_0/ports/1/hw_counters/rp_cnp_handled)
However, when I enabled PFC on NIC with dscp (i.e., mlnx_qos -i ens4f0np0 --pfc=0,0,0,1,0,0,0,0 --trust=dscp) , CNP never comes… (not even sent by Notification Point)
But Pause frame arrives at NIC in rx_prio3_pause.
Since PFC threshold is higher than CNP threshold, I guess there must be multiple CNP arrivals but it didn’t happend.
Strange thing is that, with mlnx_qos -i ens4f0np0 --pfc=0,0,0,1,0,0,0,0 --trust=pcp, CNP and Pause frame arrives but, every packet comes and goes to rx_prio0 and tx_prio0, not prio3 or prio6.
Therefore, there’s prio3 pause but cannot handle real data flow (i.e., prio0)
Is there any bug or issue for PFC+DCQCN?
Any help will be super appreciated
- current output of
mlnx_qos
$ sudo mlnx_qos -i ens4f0np0 --trust=dscp
DCBX mode: OS controlled
Priority trust state: dscp
dscp2prio mapping:
prio:0 dscp:07,06,05,04,03,02,01,00,
prio:1 dscp:15,14,13,12,11,10,09,08,
prio:2 dscp:23,22,21,20,19,18,17,16,
prio:3 dscp:31,30,29,28,27,26,25,24,
prio:4 dscp:39,38,37,36,35,34,33,32,
prio:5 dscp:47,46,45,44,43,42,41,40,
prio:6 dscp:55,54,53,52,51,50,49,48,
prio:7 dscp:63,62,61,60,59,58,57,56,
default priority:
Receive buffer size (bytes): 20016,156096,0,0,0,0,0,0,max_buffer_size=1027728
Cable len: 7
PFC configuration:
priority 0 1 2 3 4 5 6 7
enabled 0 0 0 1 0 0 0 0
buffer 0 0 0 1 0 0 0 0
tc: 0 ratelimit: unlimited, tsa: vendor
priority: 1
tc: 1 ratelimit: unlimited, tsa: vendor
priority: 0
tc: 2 ratelimit: unlimited, tsa: vendor
priority: 2
tc: 3 ratelimit: unlimited, tsa: vendor
priority: 3
tc: 4 ratelimit: unlimited, tsa: vendor
priority: 4
tc: 5 ratelimit: unlimited, tsa: vendor
priority: 5
tc: 6 ratelimit: unlimited, tsa: vendor
priority: 6
tc: 7 ratelimit: unlimited, tsa: vendor
priority: 7
Best regard
Taekyoung