From: Maxime Coquelin Subject: Re: [PATCH] vhost: invoke dev configuration after set vring call message Date: Thu, 17 Jan 2019 09:34:06 +0100 Message-ID: <85bfe3aa-e54c-4705-1d1b-436a4fb8870b@redhat.com> References: <20190114073424.15519-1-xiaolong.ye@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: xiao.w.wang@intel.com To: Xiaolong Ye , dev@dpdk.org, Tiwei Bie Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 384752BCE for ; Thu, 17 Jan 2019 09:34:16 +0100 (CET) In-Reply-To: <20190114073424.15519-1-xiaolong.ye@intel.com> Content-Language: en-US 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 1/14/19 8:34 AM, Xiaolong Ye wrote: > As qemu will only send VHOST_USER_SET_VRING_ENABLE message for guest > enabled vrings (only first queue pair will be enabled at initialized > stage), this will cause trouble for multiqueue case, vDPA's dev_conf > callback will get no chance be invoked. Decouple the dev_conf callback from > VHOST_USER_SET_VRING_ENABLE solves this issue. > > Signed-off-by: Xiaolong Ye > --- > lib/librte_vhost/vhost_user.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Maxime Coquelin Thanks, Maxime