diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-03-28 02:01:23 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-30 08:32:36 +0300 |
commit | 7f59fb32b0960f1e19651379d8e130bd017054bf (patch) | |
tree | 18b5dadc2a2539e921b0a47a30498b9770973537 /net/ethtool/netlink.h | |
parent | 0cf3eac8c936ae75ac5d429627b05eae895bba9d (diff) | |
download | linux-7f59fb32b0960f1e19651379d8e130bd017054bf.tar.xz |
ethtool: provide pause parameters with PAUSE_GET request
Implement PAUSE_GET request to get pause parameters of a network device.
These are traditionally available via ETHTOOL_GPAUSEPARAM ioctl request.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ethtool/netlink.h')
-rw-r--r-- | net/ethtool/netlink.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ethtool/netlink.h b/net/ethtool/netlink.h index c3fb4fe5a3b7..e14ac089bfb1 100644 --- a/net/ethtool/netlink.h +++ b/net/ethtool/netlink.h @@ -342,6 +342,7 @@ extern const struct ethnl_request_ops ethnl_privflags_request_ops; extern const struct ethnl_request_ops ethnl_rings_request_ops; extern const struct ethnl_request_ops ethnl_channels_request_ops; extern const struct ethnl_request_ops ethnl_coalesce_request_ops; +extern const struct ethnl_request_ops ethnl_pause_request_ops; int ethnl_set_linkinfo(struct sk_buff *skb, struct genl_info *info); int ethnl_set_linkmodes(struct sk_buff *skb, struct genl_info *info); |