| To: | Francois Romieu <romieu@xxxxxxxxxxxxx> |
|---|---|
| Subject: | [PATCH] r8169 tx checksuming on by default |
| From: | Jon Mason <jdmason@xxxxxxxxxx> |
| Date: | Thu, 28 Oct 2004 17:00:46 -0500 |
| Cc: | "'netdev@xxxxxxxxxxx'" <netdev@xxxxxxxxxxx> |
| In-reply-to: | <20041028074827.GA3572@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Organization: | IBM |
| References: | <41802CA8.8070900@xxxxxxxxxxxxxxx> <20041028074827.GA3572@xxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | KMail/1.6.2 |
The tx checksumming and scatter-gather in r8169 runs well. Below is a trivial
patch to turn them on by default.
--- r8169.c.orig 2004-10-28 15:02:07.000000000 -0500
+++ r8169.c 2004-10-28 15:21:03.000000000 -0500
@@ -1337,6 +1337,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;
--
Jon Mason
jdmason@xxxxxxxxxx
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: [PATCH 2.6.9-rc2 1/12] S2io: cosmetic changes, Ravinandan Arakali |
|---|---|
| Next by Date: | [2.6 patch] appletalk: remove an unused function, Adrian Bunk |
| Previous by Thread: | Re: 8169 driver with NetGear GA511 card., Ben Greear |
| Next by Thread: | Re: 8169 driver with NetGear GA511 card., Jon Mason |
| Indexes: | [Date] [Thread] [Top] [All Lists] |