Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2223124rwo; Thu, 3 Aug 2023 06:35:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlFVN9om6P3hRRGkwoubjhG+XlNQP4pnkRaHuDQVeNCK5I1zdaczo1dhuS7ipE7Sff4pRA/p X-Received: by 2002:a17:907:2672:b0:99c:10e8:52d7 with SMTP id ci18-20020a170907267200b0099c10e852d7mr6342598ejc.31.1691069716759; Thu, 03 Aug 2023 06:35:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691069716; cv=none; d=google.com; s=arc-20160816; b=vnjZvnZul6mWFbsoBDdiF8GQQaI6OnWAGQHHa/e7tHC3Z3IR5BFLP+J1fPqy1pEQRb nbMkcIBYom8oVO4hWm1RbAYJeQJ0gwTARMYSftXOZ0GZq5P79nTXtSHtKi5UqtIrBoQt spArmh2waU6ho2Tfz+3B883O+fly+H0gp6JKQzVuIy2sTYynODebh1LSuwV68OHGkv5c t8SEAiMYoG6ZnV+cKOTWFtcM1ALyNBRndTm3hP89TWmcYsWGyrQfIhFH1FsciIONclu9 5nCb9qurcmKt/eE1HrJ9tZISq9DHcQ0x0VIFo43BubdfVPdAjv1xjT86JqkVcuXBtUsm f+6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=OApx1mp+4F70jXFDuQoJnMSg3I6hTfIvcyJ8M095PmY=; fh=8ip4DUddnTzabERi8TVpNN2xDOzoY7hIlOifJESapF8=; b=WHPa9tOl8008LelFofQkSBrhPDPCdhrzSn2G95nxL8C6sJr9hAFN+7EeUGVCBPuq7e PEyW7x0L8kbfQEA4j7RTjeqw+kbK1yy4Bj4Kz4c77UA9UHkLbdQwcTjaaYb39a/ACx1I y4+glRxkPwkjG+1DLm0VxWTFY7uzXul4Oi/9F3rmPnxtZd45zHMCXcy75dMviNXZK2C6 c4Wu32Cy6U5CY6zM4dLDLINcV0q/4Yb6qdHBlQIaEakfr0MUBUPvnpIr030FQpb9gFGA zGzgWEmMy13MulMlzZV/gv3KVzMAVK6GbKUtYR89vxfZjwWSqzytwi+unYIvNUo2bsNd YDmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r17-20020a170906c29100b009930253bc63si11125860ejz.1024.2023.08.03.06.34.51; Thu, 03 Aug 2023 06:35:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235238AbjHCNYc (ORCPT + 99 others); Thu, 3 Aug 2023 09:24:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234722AbjHCNYb (ORCPT ); Thu, 3 Aug 2023 09:24:31 -0400 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBC291704; Thu, 3 Aug 2023 06:24:28 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=guangguan.wang@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Voz-FPi_1691069063; Received: from localhost.localdomain(mailfrom:guangguan.wang@linux.alibaba.com fp:SMTPD_---0Voz-FPi_1691069063) by smtp.aliyun-inc.com; Thu, 03 Aug 2023 21:24:24 +0800 From: Guangguan Wang To: wenjia@linux.ibm.com, jaka@linux.ibm.com, kgraul@linux.ibm.com, tonylu@linux.alibaba.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: alibuda@linux.alibaba.com, guwen@linux.alibaba.com, linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH net-next 0/6] net/smc: serveral features's implementation for smc v2.1 Date: Thu, 3 Aug 2023 21:24:16 +0800 Message-Id: <20230803132422.6280-1-guangguan.wang@linux.alibaba.com> X-Mailer: git-send-email 2.24.3 (Apple Git-128) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set implement serveral new features in SMC v2.1(https:// www.ibm.com/support/pages/node/7009315), including vendor unique experimental options, max connections per lgr negotiation, max links per lgr negotiation. Guangguan Wang (6): net/smc: support smc release version negotiation in clc handshake net/smc: add vendor unique experimental options area in clc handshake net/smc: support smc v2.x features validate net/smc: support max connections per lgr negotiation net/smc: support max links per lgr negotiation in clc handshake net/smc: Extend SMCR v2 linkgroup netlink attribute include/uapi/linux/smc.h | 2 + net/smc/af_smc.c | 87 +++++++++++++++++------ net/smc/smc.h | 5 +- net/smc/smc_clc.c | 147 ++++++++++++++++++++++++++++++++------- net/smc/smc_clc.h | 53 ++++++++++++-- net/smc/smc_core.c | 13 +++- net/smc/smc_core.h | 10 +++ net/smc/smc_llc.c | 21 ++++-- 8 files changed, 284 insertions(+), 54 deletions(-) -- 2.24.3 (Apple Git-128)