Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2655179rdb; Fri, 22 Sep 2023 05:14:14 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUK9Nm5di1eQQASvBK1HiawLcgn2Q8ZEA3Xltq2xK6djOTVa6o1m0h2HfzE3gBf3q2HSB5 X-Received: by 2002:a9d:6a10:0:b0:6c2:2bca:7a14 with SMTP id g16-20020a9d6a10000000b006c22bca7a14mr8762246otn.23.1695384854334; Fri, 22 Sep 2023 05:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695384854; cv=none; d=google.com; s=arc-20160816; b=WPAzQFDg/xYwoHMEIb1K2cOAhQX1L0M9B9lPi5szouoyz7QXiaU6HRVHNSlvjzAPvK XtZ+wNvsJGLJtgX8z2MwuVEQe98Ego3pH+ZL6EZuO+qjg1yMaUFoeZD7tf6wivdJhufa Hk6qasIoTXx/nmppmDYYjO+hkBw6D17ByNffIAaJZ+9aOGD9bjlW+BdW8PcKld1ZBT5+ evg0ucU1OjaRLcgqkp13JXohMUrvx9JwfJs0fJ/JBnCzzgRffSvuDej8JKyhrn7wITRA 7txsGafS0RPMO+5ggj1tlcVv9wuvC2bMXXVBWhG97xOau6zwUhIF1BejmGI9B+sJD4VK Vqlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=jtrjRTUaI4zEfwXXIXj7tv1aKJFq1vEDqhjhop+dSUE=; fh=dmz31siP5WMG547uVKryZQ8fjlN8cPg9arQUFizUNw4=; b=RmenMf39p642aEGXhmDeHGM5BTNHtcFvHZ79J3Yabpbh1a7pYpL8rGzh6XcDvjszXh zCoqiFkfmuObMFGe4omvVz6EYX896roiMxp1aT7DD0hnzinXTPFaaYdYRtkvSHfArO2R HiM8x6QyMWEElv2HPB4D8U7rrc6+YCaWgQ6kzUjRhNCiB1pgDOOzyDJcnOfCGDy5OYKe YyXBwaQ+nJfcHIkY7mZMd9S8D4uVG31tjYNQ0iBsEIhpVCoExRanKk4a1ejMCHf1Rfjl XEc4D4nYh5/XIrf1FQNx5/nmJQfz+4CrA+8RSRXAJ85fox0lTYnG5W+AEMPu9v4a9x03 K6Ig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id w8-20020a63f508000000b0054402b987f8si3654065pgh.605.2023.09.22.05.14.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 05:14:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 30AD5844D51F; Fri, 22 Sep 2023 02:58:24 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232988AbjIVJ6W (ORCPT + 99 others); Fri, 22 Sep 2023 05:58:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232391AbjIVJ6U (ORCPT ); Fri, 22 Sep 2023 05:58:20 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6ECD91; Fri, 22 Sep 2023 02:58:13 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=guwen@linux.alibaba.com;NM=1;PH=DS;RN=13;SR=0;TI=SMTPD_---0Vsd730E_1695376690; Received: from 30.221.128.225(mailfrom:guwen@linux.alibaba.com fp:SMTPD_---0Vsd730E_1695376690) by smtp.aliyun-inc.com; Fri, 22 Sep 2023 17:58:11 +0800 Message-ID: Date: Fri, 22 Sep 2023 17:58:07 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: [PATCH] net/smc: add support for netdevice in containers. To: Albert Huang , Karsten Graul , Wenjia Zhang , Jan Karcher Cc: "D. Wythe" , Tony Lu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230922085858.94747-1-huangjie.albert@bytedance.com> From: Wen Gu In-Reply-To: <20230922085858.94747-1-huangjie.albert@bytedance.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 22 Sep 2023 02:58:24 -0700 (PDT) On 2023/9/22 16:58, Albert Huang wrote: > If the netdevice is within a container and communicates externally > through network technologies like VXLAN, we won't be able to find > routing information in the init_net namespace. To address this issue, > we need to add a struct net parameter to the smc_ib_find_route function. > This allow us to locate the routing information within the corresponding > net namespace, ensuring the correct completion of the SMC CLC interaction. > > Signed-off-by: Albert Huang > --- Hi Albert, please specify the tree (net or net-next) you want to send to in the subject. Thanks.