mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 16:13:19 +09:00
ethtool: extend ringparam setting/getting API with rx_buf_len
Add two new parameters kernel_ringparam and extack for .get_ringparam and .set_ringparam to extend more ring params through netlink. Signed-off-by: Hao Chen <chenhao288@hisilicon.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
0b70c256eb
commit
7462494408
@@ -656,9 +656,13 @@ struct ethtool_ops {
|
||||
struct kernel_ethtool_coalesce *,
|
||||
struct netlink_ext_ack *);
|
||||
void (*get_ringparam)(struct net_device *,
|
||||
struct ethtool_ringparam *);
|
||||
struct ethtool_ringparam *,
|
||||
struct kernel_ethtool_ringparam *,
|
||||
struct netlink_ext_ack *);
|
||||
int (*set_ringparam)(struct net_device *,
|
||||
struct ethtool_ringparam *);
|
||||
struct ethtool_ringparam *,
|
||||
struct kernel_ethtool_ringparam *,
|
||||
struct netlink_ext_ack *);
|
||||
void (*get_pause_stats)(struct net_device *dev,
|
||||
struct ethtool_pause_stats *pause_stats);
|
||||
void (*get_pauseparam)(struct net_device *,
|
||||
|
||||
Reference in New Issue
Block a user