From: Jens Osterkamp Date: Mon, 27 Mar 2006 15:16:36 +0000 (+0200) Subject: [PATCH] spidernet : enable tx checksum offloading by default X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8dfc914a3f2ae4e303e2bff89f28fc14cee8a9a6;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [PATCH] spidernet : enable tx checksum offloading by default This enables TX checksum offloading for the spidernet driver by default. Signed-off-by: Jens Osterkamp Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 0000de01ec15..43f5e86fc559 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c @@ -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 */