From patchwork Sun Sep 18 22:03:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Cardwell X-Patchwork-Id: 671493 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3scjjv0dVSz9t2G for ; Mon, 19 Sep 2016 08:04:51 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.b=gZYKMxmw; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964885AbcIRWEs (ORCPT ); Sun, 18 Sep 2016 18:04:48 -0400 Received: from mail-qk0-f171.google.com ([209.85.220.171]:34534 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936368AbcIRWE0 (ORCPT ); Sun, 18 Sep 2016 18:04:26 -0400 Received: by mail-qk0-f171.google.com with SMTP id h8so126787842qka.1 for ; Sun, 18 Sep 2016 15:04:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=eRQtC4JkiWfwD0IYgl2ngx3fQ1dF59nv7oAh49pSDuE=; b=gZYKMxmw1FoSAfGOa/WBbvPXts+hs9qw4vwdK6aKrHpRZyW58hRE8xdEBG5dcJY/k+ YZZTEfgEPlX7OJyRfiQEjEO/xdym/9Xl6r9pkH4xoa054gzA5I/TVQ2enH4KVCFplzE8 vbNfBuvmHZSA41bHrIv5ObvwxJqqqiYnRCRpadySlROZoVTpOyup8xYtuPPPOrVCnn5c mm0h51XoZGv6gASoYJ6C8DKmu3LRQ75qdwmk/PIbm7b2lNzKeDEuxEH/SfaeZ6EKty/k 8x1WDJRKmXZ69AolV/xqT8j8gOOZrMjOctt5W27YBqB4T4En9f14p5b6QoFriIU+Tk3M Mmgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=eRQtC4JkiWfwD0IYgl2ngx3fQ1dF59nv7oAh49pSDuE=; b=kDie8CDZFfL8qXE6Gbw5yotR8HJ254ClXrjCdlpoP+L4iZX2iQ042RDitOKcQN6Tz/ JJgHn/vIqK0FgMpeG2di3rHjkhZfrn8Z8SYu6uyhxFeidW3gQlToTpgbTfrk7yhrWD3A LPw3u7rQ1JzCbpGP3xFpwHEIjNgYB6kW9WgxBA7dmjqWTt8MlngyA3BHlyxg8VuvUSi9 oCj/HxBMG4qbArubwRKWxct/H8s1oEGxZIx9AldYDR6SwHqTMcoAzdTtoLg3hHWVJVem kMxCd6j0lKH74DmDp8pmN/3pIYwe9FXPDUXJxro0Yy/TE+XdgzSQXz5cAs9kNWfTerDy ix4g== X-Gm-Message-State: AE9vXwPqtXCH755dZWR3dMlREpwO6JyZLaQbQKj/XrPwojTcmDKQTG7cG8Wny5VebaTvIKwN X-Received: by 10.233.232.68 with SMTP id a65mr27520086qkg.208.1474236265017; Sun, 18 Sep 2016 15:04:25 -0700 (PDT) Received: from joy.nyc.corp.google.com ([100.101.230.104]) by smtp.gmail.com with ESMTPSA id v43sm11313014qtv.15.2016.09.18.15.04.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 18 Sep 2016 15:04:24 -0700 (PDT) From: Neal Cardwell To: David Miller Cc: netdev@vger.kernel.org, Neal Cardwell , Van Jacobson , Yuchung Cheng , Nandita Dukkipati , Eric Dumazet , Soheil Hassas Yeganeh Subject: [PATCH v3 net-next 15/16] tcp: increase ICSK_CA_PRIV_SIZE from 64 bytes to 88 Date: Sun, 18 Sep 2016 18:03:52 -0400 Message-Id: <1474236233-28511-16-git-send-email-ncardwell@google.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1474236233-28511-1-git-send-email-ncardwell@google.com> References: <1474236233-28511-1-git-send-email-ncardwell@google.com> Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org The TCP CUBIC module already uses 64 bytes. The upcoming TCP BBR module uses 88 bytes. Signed-off-by: Van Jacobson Signed-off-by: Neal Cardwell Signed-off-by: Yuchung Cheng Signed-off-by: Nandita Dukkipati Signed-off-by: Eric Dumazet Signed-off-by: Soheil Hassas Yeganeh --- include/net/inet_connection_sock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index 49dcad4..197a30d 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h @@ -134,8 +134,8 @@ struct inet_connection_sock { } icsk_mtup; u32 icsk_user_timeout; - u64 icsk_ca_priv[64 / sizeof(u64)]; -#define ICSK_CA_PRIV_SIZE (8 * sizeof(u64)) + u64 icsk_ca_priv[88 / sizeof(u64)]; +#define ICSK_CA_PRIV_SIZE (11 * sizeof(u64)) }; #define ICSK_TIME_RETRANS 1 /* Retransmit timer */