bonding: add more ethtool support
Subsystems (3)
PATCH 1/1 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 <[email protected]>
drivers/net/bonding/bond_main.c +6 -0
@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(strstatic const struct ethtool_ops bond_ethtool_ops = { .get_drvinfo = bond_ethtool_get_drvinfo, + .get_link = ethtool_op_get_link, + .get_tx_csum = ethtool_op_get_tx_csum, + .get_sg = ethtool_op_get_sg, + .get_tso = ethtool_op_get_tso, + .get_ufo = ethtool_op_get_ufo, + .get_flags = ethtool_op_get_flags, };/*
Quoted 10 lines · Stephen Hemminger
This patch allows reporting the link, checksum, and feature settings of bonded device by using generic hooks.
Signed-off-by Stephen Hemminger <[email protected]>drivers/net/bonding/bond_main.c +0
-0@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(strstatic const struct ethtool_ops bond_ethtool_ops = {
drivers/net/bonding/bond_main.c static void bond_ethtool_get_drvinfo(str · line 4504
Quoted 10 lines
drivers/net/bonding/bond_main.c +6
-0.get_drvinfo = bond_ethtool_get_drvinfo, + .get_link = ethtool_op_get_link, + .get_tx_csum = ethtool_op_get_tx_csum, + .get_sg = ethtool_op_get_sg, + .get_tso = ethtool_op_get_tso, + .get_ufo = ethtool_op_get_ufo, + .get_flags = ethtool_op_get_flags, };/*
Jeff, please apply.
Acked-by Jay Vosburgh <[email protected]>
-J
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]
Jeff Garzik
AppliedQuoted 21 lines · Jay Vosburgh
Quoted 19 lines · Stephen Hemminger
This patch allows reporting the link, checksum, and feature settings of bonded device by using generic hooks.
Signed-off-by Stephen Hemminger <[email protected]>drivers/net/bonding/bond_main.c +6
-0@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(strstatic const struct ethtool_ops bond_ethtool_ops = { .get_drvinfo = bond_ethtool_get_drvinfo, + .get_link = ethtool_op_get_link, + .get_tx_csum = ethtool_op_get_tx_csum, + .get_sg = ethtool_op_get_sg, + .get_tso = ethtool_op_get_tso, + .get_ufo = ethtool_op_get_ufo, + .get_flags = ethtool_op_get_flags, };
Quoted 5 lines
drivers/net/bonding/bond_main.c static void bond_ethtool_get_drvinfo(str · line 4504
Quoted 1 line
drivers/net/bonding/bond_main.c +0
-0/* Jeff, please apply.
Acked-by Jay Vosburgh <[email protected]>
applied