On 7/7/2023 11:40 AM, Dongdong Liu wrote: > From: Huisong Li <lihuis...@huawei.com> > > 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%. Actually, this operation is also redundant, > because these disabled TC will never be used. So this patch sets > the weight of all TC based on user's configuration. > > Fixes: 62e3ccc2b94c ("net/hns3: support flow control") > Cc: sta...@dpdk.org > > Signed-off-by: Huisong Li <lihuis...@huawei.com> > Signed-off-by: Dongdong Liu <liudongdo...@huawei.com> >
Applied to dpdk-next-net/main, thanks.