From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [RFC] vhost-user public struct refactor (was Re: [PATCH RFC 2/4] vhost: make buf vector for scatter RX) local. Date: Wed, 6 Apr 2016 13:38:00 +0800 Message-ID: <20160406053800.GU3080@yliu-dev.sh.intel.com> References: <506067238.174981459919460416.JavaMail.weblogic@eumlwas01> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Flavio Leitner , "dev@dpdk.org" , Sergey Dyasly , Thomas Monjalon , "Xie, Huawei" To: Ilya Maximets Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 780C22C69 for ; Wed, 6 Apr 2016 07:36:52 +0200 (CEST) Content-Disposition: inline In-Reply-To: <506067238.174981459919460416.JavaMail.weblogic@eumlwas01> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Apr 06, 2016 at 05:11:01AM +0000, Ilya Maximets wrote: > > There is a plan to use vHost PMD, so from OVS point of view the virtio > > stuff would be hidden because vhost PMD would look like just as a > > regular ethernet, right? > > But we still need to have access to virtqueue_enabe/disable notifications to > work properly. How this will be done if virtqueue will be hidden from user? Do you mean vring_state_changed() callback? It will not be removed. BTW, when using vhost pmd, you will not be aware of such callback: it will be translated to a RTE_ETH_EVENT_QUEUE_STATE interrupt. OTOH, I have a simple git grep of "vq" from ovs dpdk netdev code, it returns nothing. So, I don't think that will matter? --yliu