Eric Dumazet c9e6bc644e net: add gro_cells infrastructure
This adds a new include file (include/net/gro_cells.h), to bring GRO
(Generic Receive Offload) capability to tunnels, in a modular way.

Because tunnels receive path is lockless, and GRO adds a serialization
using a napi_struct, I chose to add an array of up to
DEFAULT_MAX_NUM_RSS_QUEUES cells, so that multi queue devices wont be
slowed down because of GRO layer.

skb_get_rx_queue() is used as selector.

In the future, we might add optional fanout capabilities, using rxhash
for example.

With help from Ben Hutchings who reminded me
netif_get_num_default_rss_queues() function.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-10-01 17:01:46 -04:00
..
2012-08-31 16:14:33 -04:00
2012-09-21 20:49:26 -07:00
2012-10-01 17:01:46 -04:00
2012-07-19 10:48:00 -07:00
2012-10-01 17:00:27 -04:00
2012-10-01 17:00:27 -04:00
2012-06-15 15:30:15 -07:00
2012-05-17 18:45:20 -04:00
2012-08-22 22:52:04 -07:00
2012-09-13 09:04:13 +08:00
2012-09-17 13:00:13 -04:00
2012-09-27 18:42:00 -04:00