All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ayaz Abdulla <aabdulla@nvidia.com>
To: Manfred Spraul <manfred@colorfullife.com>,
	Jeff Garzik <jgarzik@pobox.com>, Andrew Morton <akpm@osdl.org>,
	"David S. Miller" <davem@davemloft.net>,
	nedev <netdev@vger.kernel.org>
Subject: [PATCH 3/5] forcedeth: ethtool tx csum fix
Date: Fri, 30 Jan 2009 13:56:35 -0500	[thread overview]
Message-ID: <49834D63.9080902@nvidia.com> (raw)

[-- 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;
 }

             reply	other threads:[~2009-01-30 22:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-30 18:56 Ayaz Abdulla [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 19:27 [PATCH 3/5] forcedeth: ethtool tx csum fix Ayaz Abdulla
2009-02-07  8:26 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49834D63.9080902@nvidia.com \
    --to=aabdulla@nvidia.com \
    --cc=akpm@osdl.org \
    --cc=davem@davemloft.net \
    --cc=jgarzik@pobox.com \
    --cc=manfred@colorfullife.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.