From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2 4/4] virtio-user: handle ctrl-q in driver Date: Mon, 13 Jun 2016 18:14:09 +0800 Message-ID: <20160613101409.GS10038@yliu-dev.sh.intel.com> References: <1462438781-139674-1-git-send-email-jianfeng.tan@intel.com> <1465800223-139122-1-git-send-email-jianfeng.tan@intel.com> <1465800223-139122-5-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, rich.lane@bigswitch.com, mst@redhat.com, nakajima.yoshihiro@lab.ntt.co.jp, p.fedin@samsung.com, ann.zhuangyanying@huawei.com, mukawa@igel.co.jp, nhorman@tuxdriver.com To: Jianfeng Tan Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 601C82C5B for ; Mon, 13 Jun 2016 12:12:13 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1465800223-139122-5-git-send-email-jianfeng.tan@intel.com> 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 Mon, Jun 13, 2016 at 06:43:43AM +0000, Jianfeng Tan wrote: > In virtio-user driver, when notify ctrl-queue, invoke API of > virtio-user device emulation to handle ctrl-q command. > > Besides, multi-queue requires ctrl-queue and ctrl-queue will be > enabled automatically when multi-queue is specified. > > Signed-off-by: Jianfeng Tan > --- > drivers/net/virtio/virtio_user_ethdev.c | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > > diff --git a/drivers/net/virtio/virtio_user_ethdev.c b/drivers/net/virtio/virtio_user_ethdev.c > index 8f401a3..4c9279e 100644 > --- a/drivers/net/virtio/virtio_user_ethdev.c > +++ b/drivers/net/virtio/virtio_user_ethdev.c > @@ -42,6 +42,7 @@ > #include "virtio_logs.h" > #include "virtio_pci.h" > #include "virtqueue.h" > +#include "virtio_rxtx.h" What's this include for? --yliu