[PATCH] net/hns3: fix user priority 4-7 didn't enable PFC
Ferruh Yigit
ferruh.yigit at amd.com
Fri Mar 8 21:31:23 CET 2024
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 because
> of the ahead check in driver. So remove this redundant code.
>
> Fixes: 62e3ccc2b94c ("net/hns3: support flow control")
> Cc: stable at dpdk.org
>
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
>
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list