bridge: show offload settings
Subsystems (4)
PATCH 1/1 bridge: show offload settings
Add more ethtool generic operations to dump the bridge offload settings.
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, };/*
From: Stephen Hemminger <[email protected]>
Date: Fri, 15 Aug 2008 10:02:59 -0700
Quoted 4 lines
Add more ethtool generic operations to dump the bridge offload settings.
Signed-off-by Stephen Hemminger <[email protected]>
Applied, thanks.
Quoted 9 lines · David Miller
From: Stephen Hemminger <[email protected]>
Date: Fri, 15 Aug 2008 10:02:59 -0700Quoted 4 lines
Add more ethtool generic operations to dump the bridge offload settings.
Signed-off-by Stephen Hemminger <[email protected]>Applied, thanks.
I might be confused, but it looks like Stephen included the
wrong patch; it references "bridge" in the comments, but duplicates his earlier patch for bonding:
Date: Fri, 15 Aug 2008 10:02:59 -0700
From: Stephen Hemminger <[email protected]>
To: David Miller <[email protected]>
Cc: [email protected]
Subject: [PATCH] bridge: show offload settings
Organization: Vyatta
Add more ethtool generic operations to dump the bridge offload settings.
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, };
-J
---
-Jay Vosburgh, IBM Linux Technology Center, [email protected]
Here is the correct patch to add more offload settings for bridge. Earlier was the bonding one (sorry).
net/bridge/br_device.c +10 -5
@@ -148,11 +148,16 @@ static int br_set_tx_csum(struct net_dev }static struct ethtool_ops br_ethtool_ops = { - .get_drvinfo = br_getinfo, - .get_link = ethtool_op_get_link, - .set_sg = br_set_sg, - .set_tx_csum = br_set_tx_csum, - .set_tso = br_set_tso, + .get_drvinfo = br_getinfo, + .get_link = ethtool_op_get_link, + .get_tx_csum = ethtool_op_get_tx_csum, + .set_tx_csum = br_set_tx_csum, + .get_sg = ethtool_op_get_sg, + .set_sg = br_set_sg, + .get_tso = ethtool_op_get_tso, + .set_tso = br_set_tso, + .get_ufo = ethtool_op_get_ufo, + .get_flags = ethtool_op_get_flags, };void br_dev_setup (struct net_device *dev)
David Miller
maintainerFrom: Stephen Hemminger <[email protected]>
Date: Fri, 15 Aug 2008 16:50:51 -0700
Quoted 4 lines
Here is the correct patch to add more offload settings for bridge. Earlier was the bonding one (sorry).
Signed-off-by Stephen Hemminger <[email protected]>
I'll fix this up, thanks. Good thing I didn't push to kernel.org yet :-)
David Miller
maintainerFrom: Jay Vosburgh <[email protected]>
Date: Fri, 15 Aug 2008 15:59:43 -0700
Quoted 8 lines
Quoted 6 lines · David Miller
From: Stephen Hemminger <[email protected]>
Date: Fri, 15 Aug 2008 10:02:59 -0700Quoted 3 lines
Add more ethtool generic operations to dump the bridge offload settings.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Stephen Hemminger <[email protected]>Applied, thanks.
I might be confused, but it looks like Stephen included the
wrong patch; it references "bridge" in the comments, but duplicates his earlier patch for bonding:
This has been sorted out, thanks Jay.