]> 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)
commit1b3bef9ebfa7917008114659a81df58461c99aa3
tree2acbb8329522356f4dd7f2a5254541b8065684cf
parentd9eab2fe93d97a90c1ff773ff2d63111da169c34
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