Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5154121pxj; Wed, 9 Jun 2021 10:20:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwHbFx66nbrngE9RQyK+ywQTCZAXc5m4ON+B0nI+PALkg9qazNuQag+PHCaABrvY4eYpUZF X-Received: by 2002:a17:906:f117:: with SMTP id gv23mr915524ejb.432.1623259213015; Wed, 09 Jun 2021 10:20:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623259213; cv=none; d=google.com; s=arc-20160816; b=jZ8F9wHCO6N1zfOkVY8gXFMSMH69IDb2c8XOaVmCYMbd6RACWybYw+nnsxNoXoXBOO OvSQODVWv/7HAW6B88ZohxPwoGYHY77MAXOtczSgZ/dOk0lAtSXdSMOlcl+C58mtnuu1 BkkrZiTB7OaEzC5dcQnMGlS/QFvSwHh8BAlVn8lnd0TB7TmXDafJ28zqihaMuvIh4Co3 5gkKSxEMXFhqGpFlH/V67jKZ2hBG460Q+AD4nAqsC+wbNmvWwHZ6zuFnuirHhY0iBQIC xFEl0ge7D3HreVHaHkuRCkc8s+ABz9SQqmvk6Y9DOJ+lFEGyYdcVhS/kIpRsUwmUuVYY mabQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=0T3oHH00bzV5F5zvkK6g3OcxD9c/551tapNQdvvmg+A=; b=Z+/a+CfgbP7b2UfaSAVeGqvw1h5vZMKBnuHZeZNKE82w+vLFpvqYpYe58RivG6gUTY 5mHgCCm/rGL5BpGjBS9e/c1v671W94qKfkEDYLyN58TetZuE6syh+xREhpsEeAbtbgOV u/9eaj97YU4VJOsQ9CyIT186glxopn5Htybxmu8Z5vJf9d8wkctuHFHtBGfXjMLv4c3L XFJeLZ4BOjCt7jOHTY/2bx8JZrdJ1+XmxCjQmP/+vYF7cs+oZvXqt+29JcJpWpOq6gXq E1GQIQsJ+Sa9fy/jhMEz7syx8CxHm2B968TZ8AkdGPxtJ8WjVl8o0vHVWDPu2bRFx1OB wW1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc38si342407ejc.36.2021.06.09.10.19.47; Wed, 09 Jun 2021 10:20:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238561AbhFILSy (ORCPT + 99 others); Wed, 9 Jun 2021 07:18:54 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:3922 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234508AbhFILSx (ORCPT ); Wed, 9 Jun 2021 07:18:53 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4G0Pcc4QFHz6wcj; Wed, 9 Jun 2021 19:13:52 +0800 (CST) Received: from dggpemm500005.china.huawei.com (7.185.36.74) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 19:16:56 +0800 Received: from [127.0.0.1] (10.69.30.204) by dggpemm500005.china.huawei.com (7.185.36.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.2176.2; Wed, 9 Jun 2021 19:16:56 +0800 Subject: Re: [RFC net-next 0/8] Introducing subdev bus and devlink extension To: Parav Pandit , Jakub Kicinski CC: moyufeng , Jakub Kicinski , Jiri Pirko , Or Gerlitz , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "michal.lkml@markovi.net" , "davem@davemloft.net" , "gregkh@linuxfoundation.org" , Jiri Pirko , Salil Mehta , "lipeng (Y)" , Guangbin Huang , "shenjian15@huawei.com" , "chenhao (DY)" , Jiaran Zhang , "linuxarm@openeuler.org" References: <1551418672-12822-1-git-send-email-parav@mellanox.com> <76785913-b1bf-f126-a41e-14cd0f922100@huawei.com> <20210531223711.19359b9a@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <7c591bad-75ed-75bc-5dac-e26bdde6e615@huawei.com> <20210601143451.4b042a94@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <20210602093440.15dc5713@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <857e7a19-1559-b929-fd15-05e8f38e9d45@huawei.com> <20210603105311.27bb0c4d@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <20210604114109.3a7ada85@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <4e7a41ed-3f4d-d55d-8302-df3bc42dedd4@huawei.com> <20210607124643.1bb1c6a1@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net> <530ff54c-3cee-0eb6-30b0-b607826f68cf@huawei.com> From: Yunsheng Lin Message-ID: <14aed028-b555-bcd3-47fe-bda2da94510b@huawei.com> Date: Wed, 9 Jun 2021 19:16:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.69.30.204] X-ClientProxiedBy: dggeme708-chm.china.huawei.com (10.1.199.104) To dggpemm500005.china.huawei.com (7.185.36.74) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/6/9 17:52, Parav Pandit wrote: > >> From: Yunsheng Lin >> Sent: Tuesday, June 8, 2021 5:41 PM > >> >> Is there any reason why VF use its own devlink instance? > Because devlink instance gives the ability for the VF and SF to control itself. > (a) device parameters (devlink dev param show) > (b) resources of the device > (c) health reporters > (d) reload in net ns > > There knobs (a) to (c) etc are not for the hypervisor to control. These are mainly for the VF/SF users to manage its own device. Do we need to disable user from changing the net ns in a container? >