]> git.baikalelectronics.ru Git - kernel.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)
commit679ae389ff7c1af81e1c9408e14091ff2e7e18b0
tree2f01dfe4a6190bb64f0a21380e49107bb8b97bcd
parent7e9d5a36f6d28b236b79777249ed628c458f2d80
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