netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/5] forcedeth: ethtool tx csum fix
@ 2009-01-30 18:56 Ayaz Abdulla
  0 siblings, 0 replies; 3+ messages in thread
From: Ayaz Abdulla @ 2009-01-30 18:56 UTC (permalink / raw)
  To: Manfred Spraul, Jeff Garzik, Andrew Morton, David S. Miller,
	nedev

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

This patch fixes the ethtool tx csum "set" command. A recent patch was 
submitted to remove HW_CSUM and use IP_CSUM instead. Therefore, the 
corresponding ethtool command should also be modified.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>


[-- Attachment #2: patch-forcedeth-txcsum --]
[-- Type: text/plain, Size: 369 bytes --]

--- old/drivers/net/forcedeth.c	2009-01-30 13:32:20.000000000 -0500
+++ new/drivers/net/forcedeth.c	2009-01-30 13:32:37.000000000 -0500
@@ -4750,7 +4750,7 @@
 	struct fe_priv *np = netdev_priv(dev);
 
 	if (np->driver_data & DEV_HAS_CHECKSUM)
-		return ethtool_op_set_tx_hw_csum(dev, data);
+		return ethtool_op_set_tx_csum(dev, data);
 	else
 		return -EOPNOTSUPP;
 }

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

* [PATCH 3/5] forcedeth: ethtool tx csum fix
@ 2009-02-06 19:27 Ayaz Abdulla
  2009-02-07  8:26 ` David Miller
  0 siblings, 1 reply; 3+ messages in thread
From: Ayaz Abdulla @ 2009-02-06 19:27 UTC (permalink / raw)
  To: Manfred Spraul, Jeff Garzik, Andrew Morton, David S. Miller,
	nedev

[-- Attachment #1: Type: text/plain, Size: 247 bytes --]

This patch fixes the ethtool tx csum "set" command. A recent patch was
submitted to remove HW_CSUM and use IP_CSUM instead. Therefore, the
corresponding ethtool command should also be modified.

Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>



[-- Attachment #2: patch-forcedeth-txcsum --]
[-- Type: text/plain, Size: 369 bytes --]

--- old/drivers/net/forcedeth.c	2009-02-06 14:15:38.000000000 -0500
+++ new/drivers/net/forcedeth.c	2009-02-06 14:15:55.000000000 -0500
@@ -4763,7 +4763,7 @@
 	struct fe_priv *np = netdev_priv(dev);
 
 	if (np->driver_data & DEV_HAS_CHECKSUM)
-		return ethtool_op_set_tx_hw_csum(dev, data);
+		return ethtool_op_set_tx_csum(dev, data);
 	else
 		return -EOPNOTSUPP;
 }

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

* Re: [PATCH 3/5] forcedeth: ethtool tx csum fix
  2009-02-06 19:27 [PATCH 3/5] forcedeth: ethtool tx csum fix Ayaz Abdulla
@ 2009-02-07  8:26 ` David Miller
  0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2009-02-07  8:26 UTC (permalink / raw)
  To: aabdulla; +Cc: manfred, jgarzik, akpm, netdev

From: Ayaz Abdulla <aabdulla@nvidia.com>
Date: Fri, 06 Feb 2009 14:27:25 -0500

> This patch fixes the ethtool tx csum "set" command. A recent patch was
> submitted to remove HW_CSUM and use IP_CSUM instead. Therefore, the
> corresponding ethtool command should also be modified.
> 
> Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>

Applied to net-next-2.6

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

end of thread, other threads:[~2009-02-07  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-06 19:27 [PATCH 3/5] forcedeth: ethtool tx csum fix Ayaz Abdulla
2009-02-07  8:26 ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2009-01-30 18:56 Ayaz Abdulla

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