DORMANTno replies

[PATCH 1/3] r8169: tx checksuming default enablement

From: Jon Mason <hidden>
Date: 2005-02-17 00:23:40

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 <redacted>
--- 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;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help