diff options
Diffstat (limited to 'drivers/net/ethernet/alteon/acenic.c')
-rw-r--r-- | drivers/net/ethernet/alteon/acenic.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/alteon/acenic.c b/drivers/net/ethernet/alteon/acenic.c index b68074803de3..b90a26b13fdf 100644 --- a/drivers/net/ethernet/alteon/acenic.c +++ b/drivers/net/ethernet/alteon/acenic.c | |||
@@ -2429,9 +2429,9 @@ restart: | |||
2429 | flagsize = (skb->len << 16) | (BD_FLG_END); | 2429 | flagsize = (skb->len << 16) | (BD_FLG_END); |
2430 | if (skb->ip_summed == CHECKSUM_PARTIAL) | 2430 | if (skb->ip_summed == CHECKSUM_PARTIAL) |
2431 | flagsize |= BD_FLG_TCP_UDP_SUM; | 2431 | flagsize |= BD_FLG_TCP_UDP_SUM; |
2432 | if (vlan_tx_tag_present(skb)) { | 2432 | if (skb_vlan_tag_present(skb)) { |
2433 | flagsize |= BD_FLG_VLAN_TAG; | 2433 | flagsize |= BD_FLG_VLAN_TAG; |
2434 | vlan_tag = vlan_tx_tag_get(skb); | 2434 | vlan_tag = skb_vlan_tag_get(skb); |
2435 | } | 2435 | } |
2436 | desc = ap->tx_ring + idx; | 2436 | desc = ap->tx_ring + idx; |
2437 | idx = (idx + 1) % ACE_TX_RING_ENTRIES(ap); | 2437 | idx = (idx + 1) % ACE_TX_RING_ENTRIES(ap); |
@@ -2450,9 +2450,9 @@ restart: | |||
2450 | flagsize = (skb_headlen(skb) << 16); | 2450 | flagsize = (skb_headlen(skb) << 16); |
2451 | if (skb->ip_summed == CHECKSUM_PARTIAL) | 2451 | if (skb->ip_summed == CHECKSUM_PARTIAL) |
2452 | flagsize |= BD_FLG_TCP_UDP_SUM; | 2452 | flagsize |= BD_FLG_TCP_UDP_SUM; |
2453 | if (vlan_tx_tag_present(skb)) { | 2453 | if (skb_vlan_tag_present(skb)) { |
2454 | flagsize |= BD_FLG_VLAN_TAG; | 2454 | flagsize |= BD_FLG_VLAN_TAG; |
2455 | vlan_tag = vlan_tx_tag_get(skb); | 2455 | vlan_tag = skb_vlan_tag_get(skb); |
2456 | } | 2456 | } |
2457 | 2457 | ||
2458 | ace_load_tx_bd(ap, ap->tx_ring + idx, mapping, flagsize, vlan_tag); | 2458 | ace_load_tx_bd(ap, ap->tx_ring + idx, mapping, flagsize, vlan_tag); |