Skip to content

Commit

Permalink
e1000e: Invoke VLAN GRO handler
Browse files Browse the repository at this point in the history
Now that VLAN has GRO support as well, we can call its GRO handler
as well.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Herbert Xu authored and David S. Miller committed Jan 21, 2009
1 parent 288379f commit c405b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/e1000e/netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ static void e1000_receive_skb(struct e1000_adapter *adapter,
skb->protocol = eth_type_trans(skb, netdev);

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

0 comments on commit c405b82

Please sign in to comment.