]> git.baikalelectronics.ru Git - kernel.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)
commit3caad7bfe3aa9999f34106877ffc8bbcdce4b6c9
treef49f4a34015ba7a4bee16c15942b8f1d47f8c20a
parent9ac636b7b957d656b2ef935e999afbb846600757
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