From patchwork Wed Sep 20 17:29:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Dumazet X-Patchwork-Id: 13393096 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7BB9D1A5A8 for ; Wed, 20 Sep 2023 17:29:53 +0000 (UTC) Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C58D0B9 for ; Wed, 20 Sep 2023 10:29:49 -0700 (PDT) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-58cb845f2f2so955907b3.1 for ; Wed, 20 Sep 2023 10:29:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695230989; x=1695835789; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:from:to:cc:subject :date:message-id:reply-to; bh=v0cGOgaxAkTIiyJiyeMB+nwEdZeSf89Aw2zfmBVg60U=; b=2BqP7gABzKbdnmdHppnwreDe3NMWDSwR8zSj1ozqXYOPySVDvJyK0IfMj+fUy3Bg6B grw5zW8T8uyWiujdBMSFmc9UOKITYXZQrIzhgTlu6VEwwr1sXeM3eG9Za3U9ToEkJyjE wvFLmh1CiibWOSB97kWMLFdJzLKIMzSUfmzsHXrSctW3RZ8lGDQj1PVLKmgkvCAHBxxX /HvhPRE6LXBorqo1bHUDt2GxVySaaCTVXalH4bLVmCGwz81NhhDeCZpo4isrCpMu9cxz bXfB/ryhjjQT67pKjqKsVz9hxXyod7S/gxsvqS/XBbaUbkm4tdVSc+UXGEL9gRtyM6WF gouA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695230989; x=1695835789; h=cc:to:from:subject:message-id:mime-version:date:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=v0cGOgaxAkTIiyJiyeMB+nwEdZeSf89Aw2zfmBVg60U=; b=X7H68dKzMHVt2Ewa1mjq/mBm2Aa7YJIv7wWOJ37yGdnmT2fejhBCqFHL3e70gSsab5 JNQ+vScYRuoW8Xy7V3iFSz9KEngP13BqEF75MxaxcpAul6A0/YaowbJWuYbgubGbk6+4 IaqamaLgAOe3+etMtnuk5hK96Pg9il2cWFOVnmG051Z4YCE01kMugmzN+xVNoFdaTfYN fpna9pVAofjmGrx6blvqUCeDuRNlQc7Y/wOVr6OJKFS3oSLOB0OIWNSWHn8k8JA+E6sC QDimkmsyayoDZgt3PsY6e61X8r4D4NgHYPbHPuAudzHAOejbakko/RID1kpS3sfBSEfx Sq2g== X-Gm-Message-State: AOJu0YxUk+KEu62TIN7nh8RHBuApPucTcJXwJ3BfZls4KBr4rYTrHOhY zpPEbntotVla+ozJDMhZgc/WvOFh7UQfRQ== X-Google-Smtp-Source: AGHT+IFoQY/wNrJnYOQE10hgTR+R3hx1rAUHXUmPkYb/JV4WWOXXsUYlYmqH7VrQ9YxaeYMHEw4DEOGmRrGJIA== X-Received: from edumazet1.c.googlers.com ([fda3:e722:ac3:cc00:2b:7d90:c0a8:395a]) (user=edumazet job=sendgmr) by 2002:a25:b228:0:b0:d74:93a1:70a2 with SMTP id i40-20020a25b228000000b00d7493a170a2mr40978ybj.5.1695230988823; Wed, 20 Sep 2023 10:29:48 -0700 (PDT) Date: Wed, 20 Sep 2023 17:29:40 +0000 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.42.0.459.ge4e396fd5e-goog Message-ID: <20230920172943.4135513-1-edumazet@google.com> Subject: [PATCH net-next 0/3] tcp: add tcp_delack_max() From: Eric Dumazet To: "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: Soheil Hassas Yeganeh , Neal Cardwell , Yuchung Cheng , netdev@vger.kernel.org, eric.dumazet@gmail.com, Eric Dumazet X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Patchwork-Delegate: kuba@kernel.org First patches are adding const qualifiers to four existing helpers. Third patch adds a much needed companion feature to RTAX_RTO_MIN. Eric Dumazet (3): net: constify sk_dst_get() and __sk_dst_get() argument tcp: constify tcp_rto_min() and tcp_rto_min_us() argument tcp: derive delack_max from rto_min include/net/sock.h | 4 ++-- include/net/tcp.h | 6 ++++-- net/ipv4/tcp.c | 3 ++- net/ipv4/tcp_output.c | 16 +++++++++++++++- 4 files changed, 23 insertions(+), 6 deletions(-)