netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bonding: add more ethtool support
@ 2008-08-11 18:34 Stephen Hemminger
  2008-08-15 22:58 ` Jay Vosburgh
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2008-08-11 18:34 UTC (permalink / raw)
  To: fubar; +Cc: netdev, bonding-devel

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>

--- 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] 3+ messages in thread

* Re: [PATCH] bonding: add more ethtool support
  2008-08-11 18:34 [PATCH] bonding: add more ethtool support Stephen Hemminger
@ 2008-08-15 22:58 ` Jay Vosburgh
  2008-09-14  1:17   ` Jeff Garzik
  0 siblings, 1 reply; 3+ messages in thread
From: Jay Vosburgh @ 2008-08-15 22:58 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: netdev, Jeff Garzik


Stephen Hemminger <stephen.hemminger@vyatta.com> wrote:

>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>
>
>--- 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,
> };
>
> /*

	Jeff, please apply.

Acked-by: Jay Vosburgh <fubar@us.ibm.com>

	-J

---
	-Jay Vosburgh, IBM Linux Technology Center, fubar@us.ibm.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] bonding: add more ethtool support
  2008-08-15 22:58 ` Jay Vosburgh
@ 2008-09-14  1:17   ` Jeff Garzik
  0 siblings, 0 replies; 3+ messages in thread
From: Jeff Garzik @ 2008-09-14  1:17 UTC (permalink / raw)
  To: Jay Vosburgh; +Cc: Stephen Hemminger, netdev

Jay Vosburgh wrote:
> Stephen Hemminger <stephen.hemminger@vyatta.com> wrote:
> 
>> 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>
>>
>> --- 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,
>> };
>>
>> /*
> 
> 	Jeff, please apply.
> 
> Acked-by: Jay Vosburgh <fubar@us.ibm.com>

applied



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-14  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-11 18:34 [PATCH] bonding: add more ethtool support Stephen Hemminger
2008-08-15 22:58 ` Jay Vosburgh
2008-09-14  1:17   ` Jeff Garzik

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).