This enables TX checksum offloading for the spidernet driver by default.

Signed-off-by: Jens Osterkamp <[EMAIL PROTECTED]>

Index: linux-2.6.16-rc5/drivers/net/spider_net.c
===================================================================
--- linux-2.6.16-rc5.orig/drivers/net/spider_net.c
+++ linux-2.6.16-rc5/drivers/net/spider_net.c
@@ -2086,7 +2086,7 @@ spider_net_setup_netdev(struct spider_ne
 
        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 */
 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to