]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: unify the pause params setup function
authorFuyun Liang <liangfuyun1@huawei.com>
Sat, 10 Mar 2018 03:29:25 +0000 (11:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 12 Mar 2018 02:53:31 +0000 (22:53 -0400)
commita1bd457e1431f0d582d1e1c0299b2e97b95e125d
tree2acbb8329522356f4dd7f2a5254541b8065684cf
parent6fca003fdc0246181d2315f7a24935a4d82a67a7
net: hns3: unify the pause params setup function

Since the firmware cmd to setup mac pause params is the same as the
firmware cmd to pfc pause params, this patch unifies the pause params
setup function.

Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h