aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/spider_net.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r--drivers/net/spider_net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c
index 0e79bacd7870..7a4aa6a9f949 100644
--- a/drivers/net/spider_net.c
+++ b/drivers/net/spider_net.c
@@ -718,7 +718,7 @@ spider_net_prepare_tx_descr(struct spider_net_card *card,
718 SPIDER_NET_DESCR_CARDOWNED | SPIDER_NET_DMAC_NOCS; 718 SPIDER_NET_DESCR_CARDOWNED | SPIDER_NET_DMAC_NOCS;
719 spin_unlock_irqrestore(&chain->lock, flags); 719 spin_unlock_irqrestore(&chain->lock, flags);
720 720
721 if (skb->protocol == htons(ETH_P_IP) && skb->ip_summed == CHECKSUM_PARTIAL) 721 if (skb->ip_summed == CHECKSUM_PARTIAL)
722 switch (ip_hdr(skb)->protocol) { 722 switch (ip_hdr(skb)->protocol) {
723 case IPPROTO_TCP: 723 case IPPROTO_TCP:
724 hwdescr->dmac_cmd_status |= SPIDER_NET_DMAC_TCP; 724 hwdescr->dmac_cmd_status |= SPIDER_NET_DMAC_TCP;
@@ -2260,7 +2260,7 @@ spider_net_setup_netdev(struct spider_net_card *card)
2260 2260
2261 spider_net_setup_netdev_ops(netdev); 2261 spider_net_setup_netdev_ops(netdev);
2262 2262
2263 netdev->features = NETIF_F_HW_CSUM | NETIF_F_LLTX; 2263 netdev->features = NETIF_F_IP_CSUM | NETIF_F_LLTX;
2264 /* some time: NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX | 2264 /* some time: NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX |
2265 * NETIF_F_HW_VLAN_FILTER */ 2265 * NETIF_F_HW_VLAN_FILTER */
2266 2266