Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp1958727rdb; Tue, 3 Oct 2023 06:27:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1Nu6v8EP1tUNfgh+Vhy2G4++k+BPTZXxIBzzzv97LXYHZYFz5HH0/FO3QDAEKCiiLkGNn X-Received: by 2002:a17:90b:e95:b0:26d:49c8:76d8 with SMTP id fv21-20020a17090b0e9500b0026d49c876d8mr13043061pjb.18.1696339662213; Tue, 03 Oct 2023 06:27:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696339662; cv=none; d=google.com; s=arc-20160816; b=osqb3HVlEedMyszmjQT30a6yWl8J11eZYqwVt3M/UYRlrkSNGu/kZtxI6DvMwYy9iD v2wm8E6wE6cFBqL8/j+NHWKxSt/LoyHH/nvGEcfNXIGj31tZDXvp11HROzZhhwZDlq7x KPTLuGADigieGiNeJjqZpbzAoXp45QkWFVb5GzbMr6g3RwKc9cdGW4xoKmGBzWTtwULy rz7bRbIQAJ92u7qoYA0J8Dc3kucZ0Gec7+L9MoDcQNfz8fZ/EX6EeUKGcQLn0B+zBr5L sO1RENHXPEYs7InkBEZ4HZjWFLcOFg/jmwTvSw4Rh+vy0rwYIqqo1sJMK0cqTVs50ZXW fYWQ== 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:reply-to:message-id:subject:cc:to:from:date; bh=5nqrsPwMXdP3wF8igO4n3NLDBylrX66h9jZ4b2iDi/c=; fh=DukX590gP2Rklz/FdpanK/dp4ND7uZ3QkV/irGjtizM=; b=A+5M5kJ6+5vKc1i1aGsjtvykRF8orahTpUZWJw2vUjVFGQYSNMUIdACVzwI1lwVFQq Hg6j9MICbF+GrVcxZxMD1m61mba2mPVvRMIXfvjDj6UGuwq08u1W016w4QToVUvv5Ko1 vflIfUFA6NJjEGuJBZeQSXiT1oxnwg5Hyhi+odisM0ruQCpNap4tPsp8TUJjDvBwsxyF TiNN4OyJCBFxiFItJfQL6SRp5ff4GHOg6Y/gyw0nQBGcrvcO7CU3y+TRSipiN5Z3YulK g+FUGDo+CuC+1QcvA9G4/XIq3s5JBcjr23rEFPCATdZmEG+XW9hZYKO61UiHD5ab09aO AiUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id kk3-20020a17090b4a0300b002764afcf7a1si11318896pjb.106.2023.10.03.06.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 06:27:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 44CB48035101; Tue, 3 Oct 2023 06:27:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236750AbjJCN1F (ORCPT + 99 others); Tue, 3 Oct 2023 09:27:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbjJCN0y (ORCPT ); Tue, 3 Oct 2023 09:26:54 -0400 Received: from out30-119.freemail.mail.aliyun.com (out30-119.freemail.mail.aliyun.com [115.124.30.119]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FBB6A9; Tue, 3 Oct 2023 06:26:49 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R691e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=dust.li@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0VtKcuA3_1696339603; Received: from localhost(mailfrom:dust.li@linux.alibaba.com fp:SMTPD_---0VtKcuA3_1696339603) by smtp.aliyun-inc.com; Tue, 03 Oct 2023 21:26:44 +0800 Date: Tue, 3 Oct 2023 21:26:43 +0800 From: Dust Li To: Paolo Abeni , Albert Huang , Karsten Graul , Wenjia Zhang , Jan Karcher Cc: "D. Wythe" , Tony Lu , Wen Gu , "David S. Miller" , Eric Dumazet , Jakub Kicinski , linux-s390@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net/smc: add support for netdevice in containers. Message-ID: <20231003132643.GG92403@linux.alibaba.com> Reply-To: dust.li@linux.alibaba.com References: <20230925023546.9964-1-huangjie.albert@bytedance.com> <20230927034209.GE92403@linux.alibaba.com> <6e5fb3e148ae1fb4a29561fe9d04235d8be6ab1f.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6e5fb3e148ae1fb4a29561fe9d04235d8be6ab1f.camel@redhat.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 03 Oct 2023 06:27:32 -0700 (PDT) On Tue, Oct 03, 2023 at 12:41:25PM +0200, Paolo Abeni wrote: >On Wed, 2023-09-27 at 11:42 +0800, Dust Li wrote: >> On Mon, Sep 25, 2023 at 10:35:45AM +0800, 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, >> >> Thanks for your founding ! >> >> I think this is a more generic problem, but not just related to VXLAN ? >> If we use SMC-R v2 and the netdevice is in a net namespace which is not >> init_net, we should always fail, right ? If so, I'd prefer this to be a bugfix. > >Re-stating the above to be on the same page: the patch should be re- >posted targeting the net tree, and including a suitable fixes tag. > >@Dust Li: please correct me if I misread you. Right, this is exactly what I mean. Best regards, Dust > >Thanks, > >Paolo