]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
vlan: Add GRO interfaces
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 6 Jan 2009 18:50:09 +0000 (10:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2009 18:50:09 +0000 (10:50 -0800)
commite1c096e251e52773afeffbbcb74d0a072be47ea3
treef49f4a34015ba7a4bee16c15942b8f1d47f8c20a
parent96e93eab20337d063c70d537bd7bc70d90e04fa3
vlan: Add GRO interfaces

This patch adds GRO interfaces for hardware-assisted VLAN reception.
With this in place we're now at parity with LRO as far as the
interface is concerned.  That is, you can now take any LRO driver
and convert it over to GRO.

As the CB memory clashes with GRO's use of CB, I've removed it
entirely by storing dev in skb->dev.  This is OK because VLAN
gets called first thing in netif_receive_skb and skb->dev is
not used in between us calling netif_rx and netif_receive_skb
getting called.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h
net/8021q/vlan_core.c