From patchwork Thu Jun 24 15:48:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12342485 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 351F4C49EA5 for ; Thu, 24 Jun 2021 15:48:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 182D3613E3 for ; Thu, 24 Jun 2021 15:48:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232257AbhFXPuc (ORCPT ); Thu, 24 Jun 2021 11:50:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230087AbhFXPub (ORCPT ); Thu, 24 Jun 2021 11:50:31 -0400 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EF8BC061574; Thu, 24 Jun 2021 08:48:12 -0700 (PDT) Received: by mail-qt1-x82e.google.com with SMTP id g3so844106qth.11; Thu, 24 Jun 2021 08:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=R9+VKDibn9NfhjcFoZUD6oHbzR2Zf0N89Z4DFIz0UUg=; b=fIJ0mc+eTzRNPGGu229pL+J+opk4FDs2FGKSw4Qalj9EgtxIqUp19j1Cyg/jUOF7DJ Zxg9+whnldRC3c0EN1J61TT8uHSwZr07LqAggg2lj66fDsynb+sVxF46CScs2dxjMDHM t/Hg2xreyJAnkpTZjQbT1A6REclcIlp/HmNznDkbbVkF6aENyJCXMRMJy8NlmGgNQ1rQ eC/6Zoobe4afU++BArLenJkcKrE0ipan4dcrZA1OC4O26rNCDb1Loyv+7zlfWuOojZHJ PV2UW4vVTJERA3uHc2VIVSvPzHzOnXeHQt10X3PIhodHEUl4x8G5AHfu4ly0KD1CJyuC w6zQ== 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:mime-version :content-transfer-encoding; bh=R9+VKDibn9NfhjcFoZUD6oHbzR2Zf0N89Z4DFIz0UUg=; b=bexn/aqaVn3IM13vWD+sUKWeevuiTFdpzXVyKRUeMV5vJqWxmHE+/Dcb1VRZa1kLJ5 0BXSznOU7EK9EPt6sIf/InTZo7oGFrApb5ZCnFOyxNV3dE0qC9MVDys97zarK/j2NTOh raZ2vecC9K8hT3rapn6AGCdjCpUYbRin198LLOFmD+4Kj5e7fcGqaINll9U+mqfYoKg2 dSrl0gIL8180FCM02ARZN51EY9Yl3WtG9hSrbSB7l3UAIqxRHnQq7XAsN4UGH+71hsjQ 6bEYMucW4n8FCtmHOn1ihjsDYwexMkEa8eO/kc1GYONp7gkoKYqcfBOdP3GKk1KH9H1+ J1bQ== X-Gm-Message-State: AOAM5315VPjsbeGJJQ23SWKATnckggJJBK18csRavF6QaLrDXF2rZP6V O0MkSdLEMKxrPL9kctpDmLZA59jeM4PK3Q== X-Google-Smtp-Source: ABdhPJynEPsSyGIDYR6VePtr7oOuMh8S8I2BbGFtI/FE9cnDMEZ4qaLB0Ynv8aBuwn/ND41LEJFB7w== X-Received: by 2002:ac8:5784:: with SMTP id v4mr999712qta.29.1624549691430; Thu, 24 Jun 2021 08:48:11 -0700 (PDT) Received: from localhost (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id g19sm2181011qtg.36.2021.06.24.08.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 08:48:11 -0700 (PDT) From: Xin Long To: network dev , davem@davemloft.net, kuba@kernel.org, Marcelo Ricardo Leitner , linux-sctp@vger.kernel.org Cc: David Laight Subject: [PATCH net-next 0/2] sctp: make the PLPMTUD probe more effective and efficient Date: Thu, 24 Jun 2021 11:48:07 -0400 Message-Id: X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org As David Laight noticed, it currently takes quite some time to find the optimal pmtu in the Search state, and also lacks the black hole detection in the Search Complete state. This patchset is to address them to mke the PLPMTUD probe more effective and efficient. Xin Long (2): sctp: do black hole detection in search complete state sctp: send the next probe immediately once the last one is acked Documentation/networking/ip-sysctl.rst | 12 ++++++++---- include/net/sctp/structs.h | 3 ++- net/sctp/sm_statefuns.c | 5 ++++- net/sctp/transport.c | 11 ++++------- 4 files changed, 18 insertions(+), 13 deletions(-)