Re: [PATCH] net/hns3: fix non-zero weight for disabled TC

2023-07-07 Thread Ferruh Yigit
On 7/7/2023 11:40 AM, Dongdong Liu wrote: > From: Huisong Li > > hns3 PF driver enables one TC, allocates to 100% weight for this > TC and 0% for other disabled TC by default. But driver modifies > the weight to 1% for disabled TC and then set to hardware to make > all TC work in DWRR mode. As a

[PATCH] net/hns3: fix non-zero weight for disabled TC

2023-07-07 Thread Dongdong Liu
From: Huisong Li hns3 PF driver enables one TC, allocates to 100% weight for this TC and 0% for other disabled TC by default. But driver modifies the weight to 1% for disabled TC and then set to hardware to make all TC work in DWRR mode. As a result, the total percent of all TC is more than 100%.