From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH v2 12/12] net/vhost: support to run in the secondary process Date: Sat, 30 Sep 2017 16:23:19 +0800 Message-ID: <20170930082319.GD6251@yliu-home> References: <1503654052-84730-1-git-send-email-jianfeng.tan@intel.com> <1506606959-76230-1-git-send-email-jianfeng.tan@intel.com> <1506606959-76230-13-git-send-email-jianfeng.tan@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, bruce.richardson@intel.com, konstantin.ananyev@intel.com, pablo.de.lara.guarch@intel.com, thomas@monjalon.net, maxime.coquelin@redhat.com, mtetsuyah@gmail.com, ferruh.yigit@intel.com To: Jianfeng Tan Return-path: Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by dpdk.org (Postfix) with ESMTP id 17E1E37B4 for ; Sat, 30 Sep 2017 10:25:33 +0200 (CEST) Received: by mail-pf0-f178.google.com with SMTP id l188so864240pfc.6 for ; Sat, 30 Sep 2017 01:25:33 -0700 (PDT) Content-Disposition: inline In-Reply-To: <1506606959-76230-13-git-send-email-jianfeng.tan@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Thu, Sep 28, 2017 at 01:55:59PM +0000, Jianfeng Tan wrote: > +static int > new_device(int vid) > { > struct rte_eth_dev *eth_dev; > @@ -610,6 +685,8 @@ new_device(int vid) > _rte_eth_dev_callback_process(eth_dev, RTE_ETH_EVENT_INTR_LSC, > NULL, NULL); > > + share_device(vid); > + Another question is, have you considered/tested the case when the VM changes the qeueue number later? --yliu