Skip to contentSkip to conversation

r8169: tx checksuming default enablement

PATCH In review Jon Mason 1 participant 1 message Feb 17, 2005

Subsystems (2)
lore
Share & tools
lore

Jon Mason

author
#0 lore raw

PATCH 1/3 r8169: tx checksuming default enablement

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.

net/r8169.c 2005-02-16 17:16:19.000000000 -0600 renamed from net/r8169.c.orig 2005-01-11 17:05:58.000000000 -0600 +2 -0
@@ -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;