From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Coquelin Subject: Re: [PATCH] lib/rte_vhost: fix message handling Date: Tue, 16 Oct 2018 14:31:16 +0200 Message-ID: <082b4db2-3828-cf53-537f-5fd95552753a@redhat.com> References: <20181016122717.66948-1-roy.fan.zhang@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: nicknickolaev@gmail.com To: Fan Zhang , dev@dpdk.org Return-path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 59C225F11 for ; Tue, 16 Oct 2018 14:31:21 +0200 (CEST) In-Reply-To: <20181016122717.66948-1-roy.fan.zhang@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" Hi Fan, On 10/16/2018 02:27 PM, Fan Zhang wrote: > This patch fixes the bugs introduced by the message handling rework > patch. Previously some "get" message handlers did not have correct > return and one if statement was wrong. > > Fixes: 2f270595c05d ("vhost: rework message handling as a callback array") > Cc: nicknickolaev@gmail.com > > Signed-off-by: Fan Zhang > --- > lib/librte_vhost/vhost_user.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Could you please have a try with latest next-virtio/master branch? I fixed the issues in my postcopy live-migration series, and all should be OK now. Note that I also changed vhost-crypto's post handler callback so that it returns enum vh_result type. Regards, Maxime