From patchwork Fri Jun 3 18:09:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12869298 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 331D6C43334 for ; Fri, 3 Jun 2022 18:27:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243734AbiFCS1a (ORCPT ); Fri, 3 Jun 2022 14:27:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34126 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347239AbiFCS1E (ORCPT ); Fri, 3 Jun 2022 14:27:04 -0400 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF0FABDB; Fri, 3 Jun 2022 11:09:29 -0700 (PDT) Received: by mail-qk1-x72b.google.com with SMTP id o73so1654499qke.7; Fri, 03 Jun 2022 11:09:29 -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=UGj6kMBeipyIyMW7azvfQiuqn18gRCp+cPu9d0L72OMrdM+koT1FPLM8vavriNmXIZ ZJomquqrknQoDzV++m2fXWwcEVRD2PDYijnSQKQNa5CG+oQ6ScofIhaIP7d5EjkCfvQV 55hLpaN4MI5EQjYV09TFpxChkTbmHOBl9ZdUz1OxbbIAc3pmqM4DSf3OKRwiAhB3ytdj AxfXMuq02fGEnXSm9S5WPRv3ge3FfPnMqvVytzT/R6FrxsuWpQLkmoYYvK0RO6zXwi3O xmHHfoJYZSQW1LKbUbIleuUooN/OEMDC58c2b6iNqiNKar/AnftJNvo0Q7H9HybGolHM pamA== 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=EJFm5GTnyq7lI3HhXlzSQ/UNcY/HlBMHoWVHH9P2lew6hidZBq31/M6zkNkKLMWL4O H2OCXI5i+O7M8Vbg/H6DleXpF2jQQx/y3M+7aDCSzmxv6SZxJiABRCgfAmq60UIvXmsV tAurdX84w+T0lioA8miB1rG3Z4u3pcw/FXzW2Tw4JW0up39QYhPTTJK5mer2XFj5aJzc noJMc2hVWKXge286fERucfWOMJryNPnqz7yunpFveCKAHvlmSjVxJlHIDdACytfZTYP7 zDHS9whh7ZTxfEcAlzRjuqK7jZd8NrUb+AdqcZ5LeZCVVtxnT8Id5hmgiopuqal9kBsZ X3kw== X-Gm-Message-State: AOAM530voXOvdxfj3MN44HRgPC3fJD3TjHnXYFD5Bx/N8rBUsGIsYiOC oWjcOd1ZQdcHo5Iiud2i85pPCEAfp/CeCipO X-Google-Smtp-Source: ABdhPJxT8NDrj7Ddz4J3Ff8QDKvbf1Qqpuq35vuVcOwpVxOSdAMJAlV02GrXUxBON+3N7EsoF0STdw== X-Received: by 2002:ae9:e90b:0:b0:6a5:816e:43d1 with SMTP id x11-20020ae9e90b000000b006a5816e43d1mr7785585qkf.66.1654279767599; Fri, 03 Jun 2022 11:09:27 -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 f4-20020a05620a20c400b006a659ce9821sm5187589qka.63.2022.06.03.11.09.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 11:09:27 -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: [PATCH net 1/3] Documentation: add description for net.sctp.reconf_enable Date: Fri, 3 Jun 2022 14:09:23 -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 Fri Jun 3 18:09:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12869297 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 65C0AC43334 for ; Fri, 3 Jun 2022 18:27:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347177AbiFCS1Q (ORCPT ); Fri, 3 Jun 2022 14:27:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347175AbiFCS1F (ORCPT ); Fri, 3 Jun 2022 14:27:05 -0400 Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E1F5562D9; Fri, 3 Jun 2022 11:09:32 -0700 (PDT) Received: by mail-qk1-x732.google.com with SMTP id a184so3042741qkg.5; Fri, 03 Jun 2022 11:09:32 -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=9Ee0cU/5frKXnfZeYsbhINP1OFIPN9yEZZMW3gUKSoE=; b=pg3/+cnQ5m2bHMRYR6k39tpeZn+sR0DqykNRuxSbuFHilq1JohNyNZ70sQ1kQ9q/VK mRuEMudSfWyN8WYi0TSQ9uVYo0JHv6e2CZKssTXIZkmRVN0YzLnntsouBd2N8MBqizYm WfKndSFCbPcs2bdf16oskT1tGtIofuAb1yzwD+nyL8hFpFw2FYvgs4Xde5lobUmxtN5E 1dq/XfTAt9iNz3SOrFXh/NGIoIh39/gOsbSu0AWBISKUp1C8xKcJ6GiVikK2OE+eDJAN xofujf9uexyCb5ml3uPdQExc27ML59oL49XUnqYLm7JjOe0N2hJrkAOcam0uOTZSfWrR g/nA== 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=9Ee0cU/5frKXnfZeYsbhINP1OFIPN9yEZZMW3gUKSoE=; b=Ctm8PZG0oWD9YBfyItEb6w1T/1kBkMKopbV4FhNlbSQt8sR/fLxNHx4D38VDQu3s+M DVgwUUoKoEkCyxhoWASfLKPOqpl287OAqXPPr7IwhWHo8XVuODQ0bRHWZ9og2c6ZWWgu Hf1Ou4cWKdDNO5EkNOu/y1vQM4jd19D4gcw5gQfNKd91pyd/jaH8TwHlm/RtL+AjGavn O6rjb/v4jh3mg4xjIznPUqCInztW4lFmVdGBSPOKjVi9LaXEFapHxwSLqGgrU9nQHGRc vx2VNFBkSz4O0OFT0SrZMh4BJpQYQ+1Vz+rTH4WnudQLe+ozthE9jzdDR/rDS7iTKUy+ mZHw== X-Gm-Message-State: AOAM531f+8FktU0wIM0pDCxlFHFaDnfvSijwIi1Ft6bo69aE+gTnuvyl tvW1OU7PP3LTKsNlxZi8awcI7vlvHIdpByFu X-Google-Smtp-Source: ABdhPJxPhnQ5/pS+Fp1/oyLGqSADdM55pBJYve8R3LzXZXjEQtK/zdDcnzFoKJxjS7IlOqx1dEr+oQ== X-Received: by 2002:a37:87c7:0:b0:6a6:31b2:b13d with SMTP id j190-20020a3787c7000000b006a631b2b13dmr7730800qkd.364.1654279768419; Fri, 03 Jun 2022 11:09:28 -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 f4-20020a05620a20c400b006a659ce9821sm5187589qka.63.2022.06.03.11.09.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 11:09:28 -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: [PATCH net 2/3] Documentation: add description for net.sctp.intl_enable Date: Fri, 3 Jun 2022 14:09:24 -0400 Message-Id: <1fc59e854d7b9c66f4ab681dbe2a9eb91219f3a4.1654279751.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 especailly 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..b67f2f83ff32 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 allow the interleaving of user + messages sent on different streams. With this feature enabled, I-DATA + chunk will replace DATA chunk to carry user messages. Note that to use + this feature, with this option set to 1, we also need socket options + SCTP_FRAGMENT_INTERLEAVE set to 2 and SCTP_INTERLEAVING_SUPPORTED set + to 1. + + - 1: Enable extension. + - 0: Disable extension. + + Default: 0 + ``/proc/sys/net/core/*`` ======================== From patchwork Fri Jun 3 18:09:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xin Long X-Patchwork-Id: 12869295 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 A8F95C43334 for ; Fri, 3 Jun 2022 18:27:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347368AbiFCS1L (ORCPT ); Fri, 3 Jun 2022 14:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347334AbiFCS1E (ORCPT ); Fri, 3 Jun 2022 14:27:04 -0400 Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7E2A5562E1; Fri, 3 Jun 2022 11:09:32 -0700 (PDT) Received: by mail-qv1-xf33.google.com with SMTP id h18so6086493qvj.11; Fri, 03 Jun 2022 11:09:32 -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=x235tBTmbtp/Zn3eJ+NV3r0CI+cJbWl2CV+l4nS6VkU=; b=fT5a0y671GKe4MIwhp2SPJGkjA0rJuWOIxzWcP7UXVILHjicLL6QNh/xCQWqIwYsCs zOVjvrOkEdCFex7B3C23gAkvXHTt0QFPuDVDEvi0vQaJAhkm0SG91yKJEHdQXjFVwDkN hMxUFQR3BurAV8mERJwLuNxlHnHa4B86Hs9KehqscVOh+WAe1OnaMc+rRaKnwxuHpsnt f6EKqa/e7d3fGWxxUI2+Az3+Blo136uRSkIQ1/ZBHwoo02NtiMUagnmzmGlxdkRtnMdz 8P1CZ3qcaiZrNbfND4mFNTizacZrvHrts/iCS3eVTYcUjD1dSwIorSODyT5UJhp0pfEh j5IA== 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=x235tBTmbtp/Zn3eJ+NV3r0CI+cJbWl2CV+l4nS6VkU=; b=klC4IYgdcVWyf9PXYO07x/VBVUwgecSHNMOQqtHd3ZGOLps0VvdBTmhIRkXM1hrW/L 7RqqLcHcSPa2zZEmDq0Can0tR5diGx8R4CCeM5iKPJqLepAjA8PQB8xcoVFkxEjMiTz5 E8IxLXR30nx80xlzg+3RHQvOHNYv3wOkvaw1BvnMlvU6X+uMlN8bu+e8fYX7cGh12laM 0Rh/YfUl6Zp1chaixxOH1busVT7jbano4AEkGtbMdKO3N20xwjdkXxqz4tKsze+l5w59 0l/t2XxaLtYtLulkIUODrLJMmZ+d+bpvVUlUpuhaWNd8bURSo+xHg09laz3F7L340HOo sSLA== X-Gm-Message-State: AOAM530r75DlISWBuLegR0OWzP9kiN7kEcUK2v9U3JDtLagpJqZTjKcu NcqApiXcxD+kvzWx08QFJYWynUdj1SwPDmgb X-Google-Smtp-Source: ABdhPJzHsBwqxJFFifqmBgmyolZ/j2IyZzSIaVnV5GMcKsf4qe6jyd8zvuSuN3Hl8gO0Em+lmaaIvQ== X-Received: by 2002:a0c:90e1:0:b0:467:d438:2853 with SMTP id p88-20020a0c90e1000000b00467d4382853mr6035753qvp.11.1654279769350; Fri, 03 Jun 2022 11:09:29 -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 f4-20020a05620a20c400b006a659ce9821sm5187589qka.63.2022.06.03.11.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Jun 2022 11:09:29 -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: [PATCH net 3/3] Documentation: add description for net.sctp.ecn_enable Date: Fri, 3 Jun 2022 14:09:25 -0400 Message-Id: <78f09abc15a2f53985159970123f0a0b9acd6b7c.1654279751.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 b67f2f83ff32..52ce71aceb5a 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/*`` ========================