From patchwork Tue Sep 20 09:52:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wen Gu X-Patchwork-Id: 12981782 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 134FEC54EE9 for ; Tue, 20 Sep 2022 09:52:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229988AbiITJwo (ORCPT ); Tue, 20 Sep 2022 05:52:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229932AbiITJwj (ORCPT ); Tue, 20 Sep 2022 05:52:39 -0400 Received: from out30-130.freemail.mail.aliyun.com (out30-130.freemail.mail.aliyun.com [115.124.30.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 042346F268; Tue, 20 Sep 2022 02:52:31 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=guwen@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VQIttFl_1663667542; Received: from localhost(mailfrom:guwen@linux.alibaba.com fp:SMTPD_---0VQIttFl_1663667542) by smtp.aliyun-inc.com; Tue, 20 Sep 2022 17:52:28 +0800 From: Wen Gu To: kgraul@linux.ibm.com, wenjia@linux.ibm.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next v2 0/2] Separate SMC parameter settings from TCP sysctls Date: Tue, 20 Sep 2022 17:52:20 +0800 Message-Id: <1663667542-119851-1-git-send-email-guwen@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org SMC shares some sysctls with TCP, but considering the difference between these two protocols, it may not be very suitable for SMC to reuse TCP parameter settings in some cases, such as keepalive time or buffer size. So this patch set aims to introduce some SMC specific sysctls to independently and flexibly set the parameters that suit SMC. v2->v1: - Use proc_dointvec_jiffies as proc_handler and allow value 0 to disable TEST_LINK. Tony Lu (1): net/smc: Unbind r/w buffer size from clcsock and make them tunable Wen Gu (1): net/smc: Introduce a specific sysctl for TEST_LINK time Documentation/networking/smc-sysctl.rst | 25 +++++++++++++++++++++++++ include/net/netns/smc.h | 3 +++ net/smc/af_smc.c | 5 ++--- net/smc/smc_core.c | 8 ++++---- net/smc/smc_llc.c | 2 +- net/smc/smc_llc.h | 1 + net/smc/smc_sysctl.c | 30 ++++++++++++++++++++++++++++++ 7 files changed, 66 insertions(+), 8 deletions(-) Acked-by: Wenjia Zhang