From patchwork Thu Dec 7 17:43:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Cardwell X-Patchwork-Id: 845723 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b="PfKqjZJK"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yt2ss46N3z9ryT for ; Fri, 8 Dec 2017 04:44:17 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753356AbdLGRoP (ORCPT ); Thu, 7 Dec 2017 12:44:15 -0500 Received: from mail-yw0-f194.google.com ([209.85.161.194]:35267 "EHLO mail-yw0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753172AbdLGRng (ORCPT ); Thu, 7 Dec 2017 12:43:36 -0500 Received: by mail-yw0-f194.google.com with SMTP id m81so3260210ywd.2 for ; Thu, 07 Dec 2017 09:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=yWcpn93d0Rr02e828xsPLSd3DH5gTap/QRYSltMrOjc=; b=PfKqjZJKsQQsNHXqOv7zKmoEwX9ih/Hd8OYJ7x0n054zKABJTNTu+r61kXGqJzaHif IeK0Duq6xpOYfddifonsws3ZdpcIwPCcqml9fChlz5nhrtipKCrMXsRYU/6cbFY8kC1M cFYkUnz3BSCC1GfbjYw71TaPblEUiq0PQS4JTkw65rgybOjGustW2QuIc6gjnLI6AKFt uxQ5phBNva44Im75twK3J6JgVNi/8iPU2e0OlhZAo4YUfhwrDdZsoAusvKQQ5CYH6kFv ZQqcHKV+Qo4xwhXkBPE9RzvIeeZm45ajJRIuJv57tSshFSCtq/7dKfopryIOTqIvSRVb 38Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=yWcpn93d0Rr02e828xsPLSd3DH5gTap/QRYSltMrOjc=; b=Jy4n7jcjWYF0yrwcL6H0QmBCiwDWPw5xTSCQ5/gih9mE2eTLwRv8qtyOQJph/RQeB8 0N93Qb3zMl5v5+3CFikMLhA1tjoVeo0GdMe3KHGvUeIQnR92z5lHNgkPB+2VVOAv+u7J S3w4medKu9zka3NMiNqI3UcAceIBc8gQ8jR/440txKL2xkpYn9CqUTetZ5N1S+oz0ib3 /d9AhcShJqEenxclcRbT8scgWnAo14Y8OG6sQ4T+vO6UjjYyG6gwp4F3nIC/88GhBj1A wpwg952eesI7ZbReOrn8wZHQlQbLLRC33bZuI5nnt9HXv1CIX+JrhZ1OiZjK7GyTLpSY 8J/Q== X-Gm-Message-State: AJaThX5HeGr5rC/TTlluBVnlRoAkuacptv0IKoPtdtNi7s5jlIDrQZLO uxPeQZl1WCVMBB79Od0IFXEYog== X-Google-Smtp-Source: AGs4zMYZHRHx8UA+RH9RK4hz6pdATfxMcEC79oXyq7UtBG02os7fzFki9guc8QSDAsQssgcr4/FaTw== X-Received: by 10.129.227.66 with SMTP id w2mr18610639ywl.456.1512668615476; Thu, 07 Dec 2017 09:43:35 -0800 (PST) Received: from joy.nyc.corp.google.com ([100.101.212.71]) by smtp.gmail.com with ESMTPSA id m129sm2577019ywd.66.2017.12.07.09.43.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Dec 2017 09:43:34 -0800 (PST) From: Neal Cardwell To: David Miller Cc: netdev@vger.kernel.org, Neal Cardwell Subject: [PATCH net 0/3] TCP BBR sampling fixes for loss recovery undo Date: Thu, 7 Dec 2017 12:43:29 -0500 Message-Id: <20171207174332.17689-1-ncardwell@google.com> X-Mailer: git-send-email 2.15.1.424.g9478a66081-goog Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch series has a few minor bug fixes for cases where spurious loss recoveries can trick BBR estimators into estimating that the available bandwidth is much lower than the true available bandwidth. In both cases the fix here is to just reset the estimator upon loss recovery undo. Neal Cardwell (3): tcp_bbr: record "full bw reached" decision in new full_bw_reached bit tcp_bbr: reset full pipe detection on loss recovery undo tcp_bbr: reset long-term bandwidth sampling on loss recovery undo net/ipv4/tcp_bbr.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-)