Re: [PATCH] net/hns3: fix user priority 4-7 didn't enable PFC

2024-03-08 Thread Ferruh Yigit
On 3/6/2024 9:20 AM, Jie Hai wrote: > Currently, hns3 driver only enable user priority 0-3 when the > user set TC number to 4 and enable PFC and ETS by dev_configure. > In this moment, the packet with user priority 4-7 cannot trigger > PFC frame. By the way, the nb_tcs from user can never be 0 beca

[PATCH] net/hns3: fix user priority 4-7 didn't enable PFC

2024-03-06 Thread Jie Hai
Currently, hns3 driver only enable user priority 0-3 when the user set TC number to 4 and enable PFC and ETS by dev_configure. In this moment, the packet with user priority 4-7 cannot trigger PFC frame. By the way, the nb_tcs from user can never be 0 because of the ahead check in driver. So remove