summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-09-27 19:29:05 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-01 17:01:46 -0400
commitc9e6bc644e557338221e75c242ab12c275a67d1b (patch)
treedea44a1edd85dccafc2d0973280d3a608d69eb02 /net/socket.c
parent861b650101eb0c627d171eb18de81dddb93d395e (diff)
downloadop-kernel-dev-c9e6bc644e557338221e75c242ab12c275a67d1b.zip
op-kernel-dev-c9e6bc644e557338221e75c242ab12c275a67d1b.tar.gz
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>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud