diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-09-13 21:17:09 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-24 18:59:02 -0400 |
commit | fa53ebac42d3de04619c813f5f6628ca2a7ce97f (patch) | |
tree | 9cb0b0220f95f6c08c35ddf22767b2f90c8b9f54 /drivers/net | |
parent | ec68db6930635b25ef5ba4983053635f5b4bf35e (diff) |
bonding: add more ethtool support
This patch allows reporting the link, checksum, and feature settings
of bonded device by using generic hooks.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index babe4610c39a..8e2be24f3fe4 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(struct net_device *bond_dev, | |||
4493 | 4493 | ||
4494 | static const struct ethtool_ops bond_ethtool_ops = { | 4494 | static const struct ethtool_ops bond_ethtool_ops = { |
4495 | .get_drvinfo = bond_ethtool_get_drvinfo, | 4495 | .get_drvinfo = bond_ethtool_get_drvinfo, |
4496 | .get_link = ethtool_op_get_link, | ||
4497 | .get_tx_csum = ethtool_op_get_tx_csum, | ||
4498 | .get_sg = ethtool_op_get_sg, | ||
4499 | .get_tso = ethtool_op_get_tso, | ||
4500 | .get_ufo = ethtool_op_get_ufo, | ||
4501 | .get_flags = ethtool_op_get_flags, | ||
4496 | }; | 4502 | }; |
4497 | 4503 | ||
4498 | /* | 4504 | /* |