* [PATCH] bridge: show offload settings
@ 2008-08-15 17:02 Stephen Hemminger
2008-08-15 21:51 ` David Miller
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2008-08-15 17:02 UTC (permalink / raw)
To: David Miller; +Cc: netdev
Add more ethtool generic operations to dump the bridge offload
settings.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/net/bonding/bond_main.c 2008-08-11 11:22:42.000000000 -0700
+++ b/drivers/net/bonding/bond_main.c 2008-08-11 11:26:07.000000000 -0700
@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(str
static 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,
};
/*
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] bridge: show offload settings
2008-08-15 17:02 [PATCH] bridge: show offload settings Stephen Hemminger
@ 2008-08-15 21:51 ` David Miller
2008-08-15 22:59 ` Jay Vosburgh
0 siblings, 1 reply; 6+ messages in thread
From: David Miller @ 2008-08-15 21:51 UTC (permalink / raw)
To: shemminger; +Cc: netdev
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 15 Aug 2008 10:02:59 -0700
> Add more ethtool generic operations to dump the bridge offload
> settings.
>
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] bridge: show offload settings
2008-08-15 21:51 ` David Miller
@ 2008-08-15 22:59 ` Jay Vosburgh
2008-08-15 23:50 ` Stephen Hemminger
2008-08-16 2:56 ` David Miller
0 siblings, 2 replies; 6+ messages in thread
From: Jay Vosburgh @ 2008-08-15 22:59 UTC (permalink / raw)
To: David Miller; +Cc: shemminger, netdev
David Miller <davem@davemloft.net> wrote:
>From: Stephen Hemminger <shemminger@vyatta.com>
>Date: Fri, 15 Aug 2008 10:02:59 -0700
>
>> Add more ethtool generic operations to dump the bridge offload
>> settings.
>>
>> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
>
>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 <shemminger@vyatta.com>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: [PATCH] bridge: show offload settings
Organization: Vyatta
Add more ethtool generic operations to dump the bridge offload
settings.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/drivers/net/bonding/bond_main.c 2008-08-11 11:22:42.000000000 -0700
+++ b/drivers/net/bonding/bond_main.c 2008-08-11 11:26:07.000000000 -0700
@@ -4493,6 +4493,12 @@ static void bond_ethtool_get_drvinfo(str
static 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, fubar@us.ibm.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] bridge: show offload settings
2008-08-15 22:59 ` Jay Vosburgh
@ 2008-08-15 23:50 ` Stephen Hemminger
2008-08-16 2:46 ` David Miller
2008-08-16 2:56 ` David Miller
1 sibling, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2008-08-15 23:50 UTC (permalink / raw)
To: Jay Vosburgh; +Cc: David Miller, netdev
Here is the correct patch to add more offload settings for bridge.
Earlier was the bonding one (sorry).
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
--- a/net/bridge/br_device.c 2008-08-14 12:14:57.000000000 -0700
+++ b/net/bridge/br_device.c 2008-08-14 12:18:10.000000000 -0700
@@ -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)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] bridge: show offload settings
2008-08-15 23:50 ` Stephen Hemminger
@ 2008-08-16 2:46 ` David Miller
0 siblings, 0 replies; 6+ messages in thread
From: David Miller @ 2008-08-16 2:46 UTC (permalink / raw)
To: shemminger; +Cc: fubar, netdev
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Fri, 15 Aug 2008 16:50:51 -0700
> Here is the correct patch to add more offload settings for bridge.
> Earlier was the bonding one (sorry).
>
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
I'll fix this up, thanks. Good thing I didn't push to
kernel.org yet :-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] bridge: show offload settings
2008-08-15 22:59 ` Jay Vosburgh
2008-08-15 23:50 ` Stephen Hemminger
@ 2008-08-16 2:56 ` David Miller
1 sibling, 0 replies; 6+ messages in thread
From: David Miller @ 2008-08-16 2:56 UTC (permalink / raw)
To: fubar; +Cc: shemminger, netdev
From: Jay Vosburgh <fubar@us.ibm.com>
Date: Fri, 15 Aug 2008 15:59:43 -0700
> David Miller <davem@davemloft.net> wrote:
>
> >From: Stephen Hemminger <shemminger@vyatta.com>
> >Date: Fri, 15 Aug 2008 10:02:59 -0700
> >
> >> Add more ethtool generic operations to dump the bridge offload
> >> settings.
> >>
> >> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> >
> >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.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-08-16 2:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 17:02 [PATCH] bridge: show offload settings Stephen Hemminger
2008-08-15 21:51 ` David Miller
2008-08-15 22:59 ` Jay Vosburgh
2008-08-15 23:50 ` Stephen Hemminger
2008-08-16 2:46 ` David Miller
2008-08-16 2:56 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).