From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from ws5-mx01.kavi.com (ws5-mx01.kavi.com [34.193.7.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 100F6C001DB for ; Fri, 4 Aug 2023 07:45:46 +0000 (UTC) Received: from lists.oasis-open.org (oasis.ws5.connectedcommunity.org [10.110.1.242]) by ws5-mx01.kavi.com (Postfix) with ESMTP id 6C94845B34 for ; Fri, 4 Aug 2023 07:45:45 +0000 (UTC) Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 6385E98683A for ; Fri, 4 Aug 2023 07:45:45 +0000 (UTC) Received: from host09.ws5.connectedcommunity.org (host09.ws5.connectedcommunity.org [10.110.1.97]) by lists.oasis-open.org (Postfix) with QMQP id 59CB59866E1; Fri, 4 Aug 2023 07:45:45 +0000 (UTC) Mailing-List: contact virtio-dev-help@lists.oasis-open.org; run by ezmlm List-ID: Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [10.110.1.242]) by lists.oasis-open.org (Postfix) with ESMTP id 4526F9866DF; Fri, 4 Aug 2023 07:45:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at kavi.com X-Alimail-AntiSpam:AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046049;MF=xuanzhuo@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0Vp.aGm1_1691135136; Message-ID: <1691135097.4908528-3-xuanzhuo@linux.alibaba.com> Date: Fri, 4 Aug 2023 15:44:57 +0800 From: Xuan Zhuo To: Parav Pandit Cc: "virtio-dev@lists.oasis-open.org" , "jasowang@redhat.com" , "virtio-comment@lists.oasis-open.org" , "Michael S. Tsirkin" References: <20230803083150.46745-1-xuanzhuo@linux.alibaba.com> <20230803054333-mutt-send-email-mst@kernel.org> <1691059929.235804-1-xuanzhuo@linux.alibaba.com> <1691060652.3764465-2-xuanzhuo@linux.alibaba.com> <1691061508.9066079-5-xuanzhuo@linux.alibaba.com> <1691062204.2378864-7-xuanzhuo@linux.alibaba.com> <1691062877.0013635-8-xuanzhuo@linux.alibaba.com> <1691129914.3255427-1-xuanzhuo@linux.alibaba.com> <1691132049.7182267-2-xuanzhuo@linux.alibaba.com> In-Reply-To: Subject: [virtio-dev] Re: RE: RE: RE: [virtio-comment] RE: RE: RE: RE: [RFC] virtio-net: support access and control the member devices On Fri, 4 Aug 2023 07:26:01 +0000, Parav Pandit wrote: > > > > From: Xuan Zhuo > > Sent: Friday, August 4, 2023 12:24 PM > > > I know the gap. For us, the switch is under all devices(including the owner > > device). > > So we need to control the switch separately. > > > Right. Same for other devices too, including ours. > Hence, it is also located outside of the owner device (on a different system). > > If the switch is not a virtio device, does it really need to be exposed as virtio object? > > > In your structure, the owner device works as the switch. It has port to connect > > to the vf devices. > > > Right. I just put owner device as switch for simplicity of the discussion. > > At this point to have port for owner device requires creating a dedicated switching object, to be located sometimes side by side inside the owner, sometimes outside. > All of these cases to be crafted, please rethink if this is _really_ needed as virtio object or not. YES. We can hear others. @Jason @Michael Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org