]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: implement tcp coalescing in tcp_queue_rcv()
authorEric Dumazet <edumazet@google.com>
Wed, 2 May 2012 09:58:29 +0000 (09:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 May 2012 01:11:11 +0000 (21:11 -0400)
commitb081f85c2977b1cbb6e635d53d9512f1ef985972
tree3b41dfe3ee282c175907e8bcf9614385115fa2e6
parent923dd347b8904c24bcac89bf038ed4da87f8aa90
net: implement tcp coalescing in tcp_queue_rcv()

Extend tcp coalescing implementing it from tcp_queue_rcv(), the main
receiver function when application is not blocked in recvmsg().

Function tcp_queue_rcv() is moved a bit to allow its call from
tcp_data_queue()

This gives good results especially if GRO could not kick, and if skb
head is a fragment.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexander Duyck <alexander.h.duyck@intel.com>
Cc: Neal Cardwell <ncardwell@google.com>
Cc: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp.c
net/ipv4/tcp_input.c