[PATCH] spidernet : enable tx checksum offloading by default
authorJens Osterkamp <Jens.Osterkamp@de.ibm.com>
Mon, 27 Mar 2006 15:16:36 +0000 (17:16 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 29 Mar 2006 22:34:02 +0000 (17:34 -0500)
This enables TX checksum offloading for the spidernet driver by default.

Signed-off-by: Jens Osterkamp <Jens.Osterkamp@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/spider_net.c

index 0000de01ec150d1a291564818571f719a6a6190f..43f5e86fc55937e8d81d62f263a4e9c6a272ffa3 100644 (file)
@@ -2086,7 +2086,7 @@ spider_net_setup_netdev(struct spider_net_card *card)
 
        spider_net_setup_netdev_ops(netdev);
 
-       netdev->features = 0;
+       netdev->features = NETIF_F_HW_CSUM;
        /* some time: NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX |
         *              NETIF_F_HW_VLAN_FILTER */