From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: [PATCH net-next 0/3] tcp: tso defer improvements Date: Sun, 11 Nov 2018 06:41:28 -0800 Message-ID: <20181111144131.156754-1-edumazet@google.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: netdev , Eric Dumazet , Soheil Hassas Yeganeh , Eric Dumazet To: "David S . Miller" Return-path: Received: from mail-pf1-f175.google.com ([209.85.210.175]:47033 "EHLO mail-pf1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728307AbeKLAaW (ORCPT ); Sun, 11 Nov 2018 19:30:22 -0500 Received: by mail-pf1-f175.google.com with SMTP id s9-v6so3033843pfm.13 for ; Sun, 11 Nov 2018 06:41:37 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: This series makes tcp_tso_should_defer() a bit smarter : 1) MSG_EOR gives a hint to TCP to not defer some skbs 2) Second patch takes into account that head tstamp can be in the future. 3) Third patch uses existing high resolution state variables to have a more precise heuristic. Eric Dumazet (3): tcp: do not try to defer skbs with eor mark (MSG_EOR) tcp: refine tcp_tso_should_defer() after EDT adoption tcp: get rid of tcp_tso_should_defer() dependency on HZ/jiffies net/ipv4/tcp_output.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) -- 2.19.1.930.g4563a0d9d0-goog