From patchwork Thu Jun 9 15:17:13 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12875749 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECA26CCA473 for ; Thu, 9 Jun 2022 15:17:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344293AbiFIPR2 (ORCPT ); Thu, 9 Jun 2022 11:17:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344039AbiFIPRW (ORCPT ); Thu, 9 Jun 2022 11:17:22 -0400 Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E9E4475B; Thu, 9 Jun 2022 08:17:19 -0700 (PDT) Received: by mail-qt1-x82f.google.com with SMTP id q11so1230532qtn.0; Thu, 09 Jun 2022 08:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=IYjc+rNFmp3AJxr+2pm0gGrx/IzB3ZsbKxwBjGVt2GU=; b=E5UL24uIgQumjQO9JsE9eBxhpgeBN9Xw57u8YEKwa3vIjV155BnR+nKIBrrN5HziCu Bj2JlN2n6FPns73hvIaaznD3IHphmh/4DxpzuNaZQOQbha0e2h/Y5VZZA9VkXz5E8uPJ B+deIS6f72QPPn3WM9owAJawJYZcWHDcLf61oULINwA/krisV8Ag/8/l9jwDVlSOcgak g5YDdZ7HVUupl4Li9b5AQWSfgubgOaUFF79Yl0K7bToaqlQcQdvLm0BjU2jq2v57VQeZ x39yfDMdyv5l9oCBB4sHST3BFYL7x91AMGm8k4NiopwVqBKghCce5ahSL1um37I4njuC 5BkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=IYjc+rNFmp3AJxr+2pm0gGrx/IzB3ZsbKxwBjGVt2GU=; b=KNS3I1QBlwTensPlal3tYY7UsFczjKcsEQpueN33TQ8ES3OgW6adfsM7vP8Pg2ja2+ 5EnVRvfkjobAbqTb2qirlkrKNDR42qjJtirZj1TAw8G7L0s4V3Mgh197QX48oKaWVxY3 HxhmQmlT4iIHC4KcZUqlY/6R86XYWLBdtf/uBKE/3HWeiLr3qYifgLWy3j27ZXNYjI4u 3T/VYbIKxBLA5ipvwgWqKCmlZqIrkv42LRRW39eT4o0GTyFMoAg18VCQUg7GBfqlvypO hUa5508lquvItbmASsYYvt1HyUvICWvhLFb7d/AprN4l/UYcjaZqM5y1z8hhG7yFVsRV hTHQ== X-Gm-Message-State: AOAM5338GT5V0dKUb5WSUO6di0CUNMvnxPV1e9R9h0sqG+Tb94nhjmB1 +Yuj7dSNzWJ2SdSg7eJalZPje3c7W2K2i7Nk X-Google-Smtp-Source: ABdhPJy4On/33fJVKnGj1dpACVNzJj18nZMDj0ogLWrORpOhK7ivPcuDaaWBPm9Wav0Ai/llyJk4Sg== X-Received: by 2002:a05:622a:44b:b0:2f9:3af4:d451 with SMTP id o11-20020a05622a044b00b002f93af4d451mr32018850qtx.587.1654787838123; Thu, 09 Jun 2022 08:17:18 -0700 (PDT) Received: from wsfd-netdev15.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id n64-20020a37bd43000000b006a60190ed0fsm18199469qkf.74.2022.06.09.08.17.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 08:17:17 -0700 (PDT) From: Xin Long To: network dev , linux-sctp@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, Marcelo Ricardo Leitner , Neil Horman Subject: [PATCHv2 net 1/3] Documentation: add description for net.sctp.reconf_enable Date: Thu, 9 Jun 2022 11:17:13 -0400 Message-Id: X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Describe it in networking/ip-sysctl.rst like other SCTP options. Fixes: c0d8bab6ae51 ("sctp: add get and set sockopt for reconf_enable") Signed-off-by: Xin Long --- Documentation/networking/ip-sysctl.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index b882d4238581..3abd494053a9 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -2930,6 +2930,17 @@ plpmtud_probe_interval - INTEGER Default: 0 +reconf_enable - BOOLEAN + Enable or disable extension of Stream Reconfiguration functionality + specified in RFC6525. This extension provides the ability to "reset" + a stream, and it includes the Parameters of "Outgoing/Incoming SSN + Reset", "SSN/TSN Reset" and "Add Outgoing/Incoming Streams". + + - 1: Enable extension. + - 0: Disable extension. + + Default: 0 + ``/proc/sys/net/core/*`` ======================== From patchwork Thu Jun 9 15:17:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12875748 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24AD8CCA473 for ; Thu, 9 Jun 2022 15:17:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344148AbiFIPR0 (ORCPT ); Thu, 9 Jun 2022 11:17:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241978AbiFIPRW (ORCPT ); Thu, 9 Jun 2022 11:17:22 -0400 Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60B1049F0C; Thu, 9 Jun 2022 08:17:20 -0700 (PDT) Received: by mail-qt1-x831.google.com with SMTP id p8so17333402qtx.9; Thu, 09 Jun 2022 08:17:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Tl+mtvibyOVIrQwhP4oxytSFsNmMVwz3s+QSpjel0gQ=; b=Mjc5vnIj7dJjk7SQVe1m63MGpZE29Rd0ohgLStSqEosRrEMXNoCvs7kjhy4rDDOX4y 9WCSITWCTTpkrg8h4DtxfzGsTYQTBH6+W5aeMz71/aKt6AoZvbV6uY8P5Um/MPqvz3Rl 2Edg5CanekgJxjtrc3SwUVHtvkipdN4CH6ov7feRSOs3gxskGgUE6dJaCxnVBEpu4G+3 +PoojQOP7h+gujbCvzMRU+39frckr1Xc67lxN8CidB1c9Ld1gubPQu0L+b47TmoamRZQ L/K2ldYwxiduKxDuKcXgr9X77QKaALHwQXzychkt6FDo9KX6p62eQX+zcbJdxYypYiSp FqWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Tl+mtvibyOVIrQwhP4oxytSFsNmMVwz3s+QSpjel0gQ=; b=cNDGReYe0f9tLTLi3f1QiV1IDp2Ufhs/Se0dlKyUB+v+e9sQzY+S/tUJaoVm7ON+93 BfhiPGNRUQWuHy3KIwXTkt8Jnru7meLWD8nA7Jo4kSSOHb3IoIosjiPB7u5qVUmYHup5 /O5XVrMl3HCXjskBfzVz5/VGtb/ijsIc9WvHKj9+i0LCOLdB5h4m8GtkEY9si3B9SQhZ 4qyyaSJNSyBfT5JyKDAQMvnQkKtXv6WoCX/RbTSSz0dl9R2cLUhE5fzNKuJm+tbtoylH A4A4sWIGJJepKAVtOT+R9nyQY1gRQOubh/7j+HtCeSvKv2paOMYIGS1701W07anF6SCZ IGjg== X-Gm-Message-State: AOAM530qYu/kR9JQIzCwCg028ZDhJQ3p8OUxZB6hNHsCiOxh057+yvG7 /Wh/F+D6sF5iA7g2iWV+kZr/3aWcmnpXk9L4 X-Google-Smtp-Source: ABdhPJw0Wgq4WSjiCYEALJc3aM7LHt/3Qjg7k2HSrn6Tjf9c6Iugj3agmGZruy9qfKnxP7gKuQLUCQ== X-Received: by 2002:ac8:7f16:0:b0:300:c862:5c79 with SMTP id f22-20020ac87f16000000b00300c8625c79mr31776609qtk.523.1654787839194; Thu, 09 Jun 2022 08:17:19 -0700 (PDT) Received: from wsfd-netdev15.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id n64-20020a37bd43000000b006a60190ed0fsm18199469qkf.74.2022.06.09.08.17.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 08:17:18 -0700 (PDT) From: Xin Long To: network dev , linux-sctp@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, Marcelo Ricardo Leitner , Neil Horman Subject: [PATCHv2 net 2/3] Documentation: add description for net.sctp.intl_enable Date: Thu, 9 Jun 2022 11:17:14 -0400 Message-Id: <2792d34dbac5750f23854bdb042f03f63d3fa918.1654787716.git.lucien.xin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Describe it in networking/ip-sysctl.rst like other SCTP options. We need to document this especially as when using the feature of User Message Interleaving, some socket options also needs to be set. Fixes: 463118c34a35 ("sctp: support sysctl to allow users to use stream interleave") Signed-off-by: Xin Long --- Documentation/networking/ip-sysctl.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index 3abd494053a9..5d90e219398c 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -2941,6 +2941,20 @@ reconf_enable - BOOLEAN Default: 0 +intl_enable - BOOLEAN + Enable or disable extension of User Message Interleaving functionality + specified in RFC8260. This extension allows the interleaving of user + messages sent on different streams. With this feature enabled, I-DATA + chunk will replace DATA chunk to carry user messages if also supported + by the peer. Note that to use this feature, one needs to set this option + to 1 and also needs to set socket options SCTP_FRAGMENT_INTERLEAVE to 2 + and SCTP_INTERLEAVING_SUPPORTED to 1. + + - 1: Enable extension. + - 0: Disable extension. + + Default: 0 + ``/proc/sys/net/core/*`` ======================== From patchwork Thu Jun 9 15:17:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12875750 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18696CCA47B for ; Thu, 9 Jun 2022 15:17:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344322AbiFIPRa (ORCPT ); Thu, 9 Jun 2022 11:17:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43780 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344133AbiFIPRX (ORCPT ); Thu, 9 Jun 2022 11:17:23 -0400 Received: from mail-qk1-x731.google.com (mail-qk1-x731.google.com [IPv6:2607:f8b0:4864:20::731]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B0FF49F20; Thu, 9 Jun 2022 08:17:21 -0700 (PDT) Received: by mail-qk1-x731.google.com with SMTP id x75so14515062qkb.12; Thu, 09 Jun 2022 08:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Yo55hjPkaA6HUYV2samiBI0zS/levO2yum2VLOtoWjk=; b=Dvi7HQuDWWhipcp138Bj87WO5wxvawZn2bzyTZQ4AbTQyWsLoYJ8swA+P0vckDmIUt GrEov9w1T1rzITJHfzMPOGbhL6MScASG7TVPv+mEFe6Z+UfSwRfy2Vy6Ga6lxp5maTVb NG9pAEtuXlrKOGITy7Gr7LRTe3cmuIeXH8zXet1WClibKdVgvToLEAo/rx92orcRl70r z/t3F8lq8yTFEyhT28TiJHTA3zi8V27nrH3CxLgEJclEfSNzZqrv/+91CENs04bYtdST WUvPE5KkrmIF5X1L/VMzDQbVYZhWkUhsEl76BI959f/1zw02Iz/q/3UDZYqUwKDD9MxG fhBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Yo55hjPkaA6HUYV2samiBI0zS/levO2yum2VLOtoWjk=; b=auRn75/CVauQnfFFD7mieJbTJZA+yWLZso85DILYzCP8dM9QNralDYHypbJGcB42J/ +GD8G62z7g5mEUQVH+AYYCnZFbyezRO3nmDC+u8X8YKj8zd55qYEJTQvh3OmUmi+UCXT NKr71nPfL9Z1h7gLwUFUZweScspaijUiPgaEWjGfeT96HBCizsh6WHet+UFYRIOtOCNf Beao2ICOdO+MRaOoLm5VVJaqgsrrLpfznbz9GxZoqdIA0rmKLFKArAbYdEQKDwp6xtBX wUNMBnkfoZ8WhQkN9iZFH/R2nC6Yi89o+qBFdv91Dn6kdssaRH8dUea95KkakMlIVvff eVtw== X-Gm-Message-State: AOAM532do5iyui+VPq+S5GGvO1fb0s5iSnisXIoM+S0Vv6ILJlMKW+87 5jtzSCp+YTS5oJcto2i+JlnmxZYKvm0Pozy/ X-Google-Smtp-Source: ABdhPJzy3K+VDHswkyZ44WSM6TvCJBMe1MNYY9ptV0Er9EXbeQ7eUxgTCkF6NanGTZoClhe1VXY0DA== X-Received: by 2002:a05:620a:1272:b0:6a6:bdc1:8f92 with SMTP id b18-20020a05620a127200b006a6bdc18f92mr14865562qkl.330.1654787840188; Thu, 09 Jun 2022 08:17:20 -0700 (PDT) Received: from wsfd-netdev15.ntdv.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id n64-20020a37bd43000000b006a60190ed0fsm18199469qkf.74.2022.06.09.08.17.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 08:17:19 -0700 (PDT) From: Xin Long To: network dev , linux-sctp@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org, Marcelo Ricardo Leitner , Neil Horman Subject: [PATCHv2 net 3/3] Documentation: add description for net.sctp.ecn_enable Date: Thu, 9 Jun 2022 11:17:15 -0400 Message-Id: <5134901d42a9de34ebcc8726ef147688686537a8.1654787716.git.lucien.xin@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Describe it in networking/ip-sysctl.rst like other SCTP options. Fixes: 2f5268a9249b ("sctp: allow users to set netns ecn flag with sysctl") Signed-off-by: Xin Long --- Documentation/networking/ip-sysctl.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/networking/ip-sysctl.rst b/Documentation/networking/ip-sysctl.rst index 5d90e219398c..f709e368808d 100644 --- a/Documentation/networking/ip-sysctl.rst +++ b/Documentation/networking/ip-sysctl.rst @@ -2955,6 +2955,18 @@ intl_enable - BOOLEAN Default: 0 +ecn_enable - BOOLEAN + Control use of Explicit Congestion Notification (ECN) by SCTP. + Like in TCP, ECN is used only when both ends of the SCTP connection + indicate support for it. This feature is useful in avoiding losses + due to congestion by allowing supporting routers to signal congestion + before having to drop packets. + + 1: Enable ecn. + 0: Disable ecn. + + Default: 1 + ``/proc/sys/net/core/*`` ========================