summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2012-04-27 00:38:33 +0000
committerDavid S. Miller <davem@davemloft.net>2012-04-30 21:35:49 -0400
commit329033f645d93b5f9160b9b972dbc5431ad22a33 (patch)
tree1fca09d6bf496391b8ea5d109429e48b28b2d7a8 /scripts/Makefile.lib
parentd7e8883cfcf4851afe74fb380cc62b7fa9cf66ba (diff)
downloadtalos-op-linux-329033f645d93b5f9160b9b972dbc5431ad22a33.tar.gz
talos-op-linux-329033f645d93b5f9160b9b972dbc5431ad22a33.zip
tcp: makes tcp_try_coalesce aware of skb->head_frag
TCP coalesce can check if skb to be merged has its skb->head mapped to a page fragment, instead of a kmalloc() area. We had to disable coalescing in this case, for performance reasons. We 'upgrade' skb->head as a fragment in itself. This reduces number of cache misses when user makes its copies, since a less sk_buff are fetched. This makes receive and ofo queues shorter and thus reduce cache line misses in TCP stack. This is a followup of patch "net: allow skb->head to be a page fragment" Tested with tg3 nic, with GRO on or off. We can see "TCPRcvCoalesce" counter being incremented. Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Cc: Herbert Xu <herbert@gondor.apana.org.au> Cc: Maciej Żenczykowski <maze@google.com> Cc: Neal Cardwell <ncardwell@google.com> Cc: Tom Herbert <therbert@google.com> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Ben Hutchings <bhutchings@solarflare.com> Cc: Matt Carlson <mcarlson@broadcom.com> Cc: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud