]> git.ipfire.org Git - thirdparty/linux.git/commit
net: hns3: set the port shaper according to MAC speed
authorYunsheng Lin <linyunsheng@huawei.com>
Mon, 3 Jun 2019 02:09:16 +0000 (10:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:32:50 +0000 (15:32 -0700)
commitd9ea156297b7c2db49bf3cda11043a5ce410142f
tree2f01dfe4a6190bb64f0a21380e49107bb8b97bcd
parentb524b38ff6320f58f5d0e95640eec82fae850887
net: hns3: set the port shaper according to MAC speed

This patch sets the port shaper according to the MAC speed as
suggested by hardware user manual.

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c