commit | 1c77215480bcfa0852575180f997bd156f2aef17 | [log] [tgz] |
---|---|---|
author | Yunsheng Lin <linyunsheng@huawei.com> | Tue Aug 14 17:13:18 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Tue Aug 14 09:54:24 2018 -0700 |
tree | 26547b3d9ee4ac05fdf7a75a10db318a28b7a13d | |
parent | 26a07ccc1d0781fee3027e40a8bfa7a1a3358df3 [diff] |
net: hns3: Set tx ring' tc info when netdev is up The HNS3_RING_TX_RING_TC_REG register is used to map tx ring to specific tc, the tx queue to tc mapping is needed by the hardware to do the correct tx schedule. Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>