skge: add GRO support
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 31 Aug 2010 18:25:32 +0000 (18:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Sep 2010 17:57:55 +0000 (10:57 -0700)
commit86cac58b71227cc34a3d0e78f19585c0eff49ea3
treee3329c4599474c12f17b0de5b2e8e4ff92233853
parentaed5029ead26fe47527d9e9f2052cf56b72543f0
skge: add GRO support

- napi_gro_flush() is exported from net/core/dev.c, to avoid
  an irq_save/irq_restore in the packet receive path.
- use napi_gro_receive() instead of netif_receive_skb()
- use napi_gro_flush() before calling __napi_complete()
- turn on NETIF_F_GRO by default
- Tested on a Marvell 88E8001 Gigabit NIC

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/skge.c
include/linux/netdevice.h
net/core/dev.c