commit | 330baff5423b143fba698f2acc9eff3cfb1a0776 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Wed Jan 23 07:39:36 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jan 23 11:13:02 2019 -0800 |
tree | ce58a35fb207a9cb0e37a1f1fd96f100601a9f49 | |
parent | 44e59e375bf7785660a250f61e802996894d148a [diff] |
net: hns3: add ETS TC weight setting in SSU module This patch sets the TC weight in SSU module according to info in tm_info. Also, zero weight of TC weight in SSU ETS module means enabling strict priority, so do not allow zero weight when in ETS mode. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>