diff options
| author | Eric Dumazet <[email protected]> | 2012-04-23 07:11:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2012-04-23 22:42:49 -0400 |
| commit | 1402d366019fedaa2b024f2bac06b7cc9a8782e1 (patch) | |
| tree | f74c00a2308ad13d6970cdc7e5cc29d2f0f809fa /include/linux/debugobjects.h | |
| parent | e29ecd51de1683e6aeb88d76251f194b0311f749 (diff) | |
tcp: introduce tcp_try_coalesce
commit c8628155ece3 (tcp: reduce out_of_order memory use) took care of
coalescing tcp segments provided by legacy devices (linear skbs)
We extend this idea to fragged skbs, as their truesize can be heavy.
ixgbe for example uses 256+1024+PAGE_SIZE/2 = 3328 bytes per segment.
Use this coalescing strategy for receive queue too.
This contributes to reduce number of tcp collapses, at minimal cost, and
reduces memory overhead and packets drops.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Neal Cardwell <[email protected]>
Cc: Tom Herbert <[email protected]>
Cc: Maciej Żenczykowski <[email protected]>
Cc: Ilpo Järvinen <[email protected]>
Acked-by: Neal Cardwell <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions