netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jon Mason <jdmason@us.ibm.com>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: netdev@oss.sgi.com
Subject: [PATCH 1/3] r8169: tx checksuming default enablement
Date: Wed, 16 Feb 2005 18:23:40 -0600	[thread overview]
Message-ID: <200502161823.40109.jdmason@us.ibm.com> (raw)

Trivial enablement of transmit checksumming by default.

Originally sent on 10/28/04.  Applies cleanly to linux-2.6.11-rc2-mm2 version of the driver.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>

--- drivers/net/r8169.c.orig 2005-01-11 17:05:58.000000000 -0600
+++ drivers/net/r8169.c 2005-02-16 17:16:19.000000000 -0600
@@ -1341,6 +1341,8 @@ rtl8169_init_one(struct pci_dev *pdev, c
  dev->poll_controller = rtl8169_netpoll;
 #endif
 
+ dev->features |= NETIF_F_IP_CSUM | NETIF_F_SG;
+
  tp->intr_mask = 0xffff;
  tp->pci_dev = pdev;
  tp->mmio_addr = ioaddr;

                 reply	other threads:[~2005-02-17  0:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200502161823.40109.jdmason@us.ibm.com \
    --to=jdmason@us.ibm.com \
    --cc=netdev@oss.sgi.com \
    --cc=romieu@fr.zoreil.com \
    /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 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).