Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1821405rdh; Tue, 26 Sep 2023 04:51:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFsb9Yi1Aer0YetVyW6k8oirlTYeQa50Qu2DbibBlUQzvX3YolIQVSLd3mMkYFcV309dg32 X-Received: by 2002:a17:902:d34d:b0:1c5:ff18:98af with SMTP id l13-20020a170902d34d00b001c5ff1898afmr6945283plk.4.1695729079364; Tue, 26 Sep 2023 04:51:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695729079; cv=none; d=google.com; s=arc-20160816; b=f8eIIdg2gDZFAfaJYHJuZ4WBShuMyAlRR2V6WwkTBez4eIryqdx+qnbfC+iKDPa8rz HcXELhuTB4qbxrmF00g1MBVC1TeVxLOb4k4FMmwK0OaROQDSFUIxbJiNujqf0+n7s4bu 1jJRmCPVk4BpIb463SvSVMFMXw7NLF9+Rpoi6BSeR89VfXqi0k9HunPSDjfSYUkEcAAz ERgkkYLKZj9GpSLNvJHxCm16GnEFOjj3qRTNBal7xEampWgv2prTyo/1T0YapPivKO5N ZgrCQMlu2Zcv9ImPL4ljwardNjv4voR23pYiPEWZJSE6/K0Dtm9W+3CfQ6njvLpucCpg Bjfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=escgVXZIZleRV5T/Qrklff8PPRHQx+RTzBsGWfQ7vBs=; fh=A/R1/EH5eB/AEX2ayg1Uxk/PCGMn1KtqFa8Vz/9waeM=; b=LYu2fnx3wFDQeuEGPgTHmDc5+F0lBb3a13M40Vn3Yh8DDdCF4eZbjoUsaVRXi4YpDJ HkIIdIcjvXE6VIy++Ag2KfzV1XL+dVlxfuHeyHg+XDiNbKs3o2fAlRyibMA0NOjzXokv lESOraYZNBqQYOUEyOrEPlIzRrzYL/CrOXe1CUauaEIoJiBKkETjul82AS0uolAF0C9N GKWkmfAgV5kcNKbervLL3Z7ZD2lQ3NtisG7jHCocwiax08kPYZDcpPZo84MOd0Z/p1Vf fpPoiP+bigJBoM0uvpuyHpJaKpAMgDi5MKFuauouHHobKoGeh+z9cZHN4GcChIafhmrt 2b2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pD2rkyKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id kt3-20020a170903088300b001bf20e8f66asi11535465plb.26.2023.09.26.04.51.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 04:51:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=pD2rkyKi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CF14180D7564; Tue, 26 Sep 2023 04:41:23 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233444AbjIZLlU (ORCPT + 99 others); Tue, 26 Sep 2023 07:41:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233303AbjIZLlT (ORCPT ); Tue, 26 Sep 2023 07:41:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A101127; Tue, 26 Sep 2023 04:41:11 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0700C433C8; Tue, 26 Sep 2023 11:41:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695728471; bh=xayddD/UkGvMFL+wjIXW7FBKA1JN27wJEBHqp+aZGc0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pD2rkyKidfdtF/GsiBFXYbwt5HP0gHPAGz4mexcij7dv0gTpQ3Eh9ZokjHii72WOJ dxf6FVK18gYzSBkS7CPt+hctajmRYIuUd/2z9HvY6Rag6l70skrZCL57kApl/+afsj V8SXRPJvt/v957XRfnojIoznopkeHvFbm8xU6aMOoFrR8pgn62jZ4gCYYEdluO48iP rsC5m1j6pwv5Rak1ZNOUHOwXKE/CHdMCNFVJVdk/E8xP1sEl5f+U2Y/mg4UB4uWZTk YqYU1RYkFPK8y93ClqRko9awFHAfWZ0VKGnhNjzKOnj5LgvIFtec4Fr1BUjVCRvFju 2NYjMZpT/aBmQ== Date: Tue, 26 Sep 2023 14:41:04 +0300 From: Leon Romanovsky To: Alexandra Winter Cc: Albert Huang , Karsten Graul , Wenjia Zhang , Jan Karcher , "D. Wythe" , Tony Lu , Wen Gu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, RDMA mailing list , Jason Gunthorpe Subject: Re: [PATCH net-next] net/smc: add support for netdevice in containers. Message-ID: <20230926114104.GL1642130@unreal> References: <20230925023546.9964-1-huangjie.albert@bytedance.com> <20230926104831.GJ1642130@unreal> <76a74084-a900-d559-1f63-deff84e5848a@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <76a74084-a900-d559-1f63-deff84e5848a@linux.ibm.com> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 26 Sep 2023 04:41:24 -0700 (PDT) On Tue, Sep 26, 2023 at 01:14:04PM +0200, Alexandra Winter wrote: > > > On 26.09.23 12:48, Leon Romanovsky wrote: > > This patch made me wonder, why doesn't SMC use RDMA-CM like all other > > in-kernel ULPs which work over RDMA? > > > > Thanks > > The idea behind SMC is that it should look an feel to the applications > like TCP sockets. So for connection management it uses TCP over IP; > RDMA is just used for the data transfer. I think that it is not different from other ULPs. For example, RDS works over sockets and doesn't touch or reimplement GID management logic. Thanks