net: hns3: add support for set_pauseparam
authorPeng Li <lipeng321@huawei.com>
Fri, 22 Dec 2017 04:21:51 +0000 (12:21 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Dec 2017 15:41:47 +0000 (10:41 -0500)
commit61387774d96ef5d2c6b876efa6a35c9c124ae4ae
tree28877a842b56d6daa51ace48eecc90ac21db3813
parent27b5bf49f0924fd62d2b1ef8467b40773973da34
net: hns3: add support for set_pauseparam

This patch adds set_pauseparam support for ethtool cmd.

Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
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