commit | ae179b2f05189844616ce629ec1e644ad52f35fd | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Fri Jun 28 19:50:08 2019 +0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Jun 28 09:39:49 2019 -0700 |
tree | 1fabd56e81b665c42dc1630cc8ae50acf6698df4 | |
parent | f96315f2f17e7b2580d2fec7c4d6a706a131d904 [diff] |
net: hns3: enable DCB when TC num is one and pfc_en is non-zero Currently when TC num is one, the DCB will be disabled no matter if pfc_en is non-zero or not. This patch enables the DCB if pfc_en is non-zero, even when TC num is one. 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>