diff options
author | Peng Li | 2017-12-22 05:21:54 +0100 |
---|---|---|
committer | David S. Miller | 2017-12-27 16:42:11 +0100 |
commit | f34ffffdcf06c779ac1ee303bf198152f0841386 (patch) | |
tree | a57e92797bed489532f4aec693ae09d5c5e920e7 /drivers/net/ethernet/hisilicon/hns3/hnae3.h | |
parent | net: hns3: add Asym Pause support to phy default features (diff) | |
download | kernel-qcow2-linux-f34ffffdcf06c779ac1ee303bf198152f0841386.tar.gz kernel-qcow2-linux-f34ffffdcf06c779ac1ee303bf198152f0841386.tar.xz kernel-qcow2-linux-f34ffffdcf06c779ac1ee303bf198152f0841386.zip |
net: hns3: add support for querying advertised pause frame by ethtool ethx
This patch adds support for querying advertised pause frame by using
ethtool command(ethtool ethx).
Fixes: 496d03e960ae ("net: hns3: Add Ethtool support to HNS3 driver")
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/hnae3.h')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns3/hnae3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h index a67d02a90aac..82e9a8034557 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h @@ -394,6 +394,8 @@ struct hnae3_ae_ops { void (*get_tqps_and_rss_info)(struct hnae3_handle *h, u16 *free_tqps, u16 *max_rss_size); int (*set_channels)(struct hnae3_handle *handle, u32 new_tqps_num); + void (*get_flowctrl_adv)(struct hnae3_handle *handle, + u32 *flowctrl_adv); }; struct hnae3_dcb_ops { |