Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214755
b: refs/heads/master
c: 6a08d19
h: refs/heads/master
i:
  214753: 0e3a1de
  214751: 5297b90
v: v3
  • Loading branch information
Jesse Brandeburg authored and David S. Miller committed Sep 23, 2010
1 parent b1a8d63 commit aabdf5b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 338c15e470d818f215d651505dc169d4e92f36a4
refs/heads/master: 6a08d194ee40806e0ccd5f36ed768e64cbfc979f
19 changes: 8 additions & 11 deletions trunk/drivers/net/e1000/e1000_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -3664,13 +3664,14 @@ static void e1000_consume_page(struct e1000_buffer *bi, struct sk_buff *skb,
static void e1000_receive_skb(struct e1000_adapter *adapter, u8 status,
__le16 vlan, struct sk_buff *skb)
{
if (unlikely(adapter->vlgrp && (status & E1000_RXD_STAT_VP))) {
vlan_hwaccel_receive_skb(skb, adapter->vlgrp,
le16_to_cpu(vlan) &
E1000_RXD_SPC_VLAN_MASK);
} else {
netif_receive_skb(skb);
}
skb->protocol = eth_type_trans(skb, adapter->netdev);

if ((unlikely(adapter->vlgrp && (status & E1000_RXD_STAT_VP))))
vlan_gro_receive(&adapter->napi, adapter->vlgrp,
le16_to_cpu(vlan) & E1000_RXD_SPC_VLAN_MASK,
skb);
else
napi_gro_receive(&adapter->napi, skb);
}

/**
Expand Down Expand Up @@ -3828,8 +3829,6 @@ static bool e1000_clean_jumbo_rx_irq(struct e1000_adapter *adapter,
goto next_desc;
}

skb->protocol = eth_type_trans(skb, netdev);

e1000_receive_skb(adapter, status, rx_desc->special, skb);

next_desc:
Expand Down Expand Up @@ -3992,8 +3991,6 @@ static bool e1000_clean_rx_irq(struct e1000_adapter *adapter,
((u32)(rx_desc->errors) << 24),
le16_to_cpu(rx_desc->csum), skb);

skb->protocol = eth_type_trans(skb, netdev);

e1000_receive_skb(adapter, status, rx_desc->special, skb);

next_desc:
Expand Down

0 comments on commit aabdf5b

Please sign in to comment.