• Eric Dumazet's avatar
    net: implement tcp coalescing in tcp_queue_rcv() · b081f85c
    Eric Dumazet authored
    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: default avatarEric 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: default avatarDavid S. Miller <davem@davemloft.net>
    b081f85c
tcp_input.c 177 KB