diff options
author | Peng Li <lipeng321@huawei.com> | 2017-12-22 07:21:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 18:41:47 +0300 |
commit | 61387774d96ef5d2c6b876efa6a35c9c124ae4ae (patch) | |
tree | 28877a842b56d6daa51ace48eecc90ac21db3813 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | |
parent | 27b5bf49f0924fd62d2b1ef8467b40773973da34 (diff) | |
download | linux-61387774d96ef5d2c6b876efa6a35c9c124ae4ae.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h index bf59961918ab..16f413956f17 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h @@ -118,4 +118,5 @@ void hclge_tm_schd_info_update(struct hclge_dev *hdev, u8 num_tc); int hclge_tm_dwrr_cfg(struct hclge_dev *hdev); int hclge_tm_map_cfg(struct hclge_dev *hdev); int hclge_tm_init_hw(struct hclge_dev *hdev); +int hclge_mac_pause_en_cfg(struct hclge_dev *hdev, bool tx, bool rx); #endif |