From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7852037E8F; Tue, 16 Oct 2018 12:31:20 +0000 (UTC) Received: from [10.36.112.24] (ovpn-112-24.ams2.redhat.com [10.36.112.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1A84A2E8F8; Tue, 16 Oct 2018 12:31:18 +0000 (UTC) To: Fan Zhang , dev@dpdk.org Cc: nicknickolaev@gmail.com References: <20181016122717.66948-1-roy.fan.zhang@intel.com> From: Maxime Coquelin Message-ID: <082b4db2-3828-cf53-537f-5fd95552753a@redhat.com> Date: Tue, 16 Oct 2018 14:31:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20181016122717.66948-1-roy.fan.zhang@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Tue, 16 Oct 2018 12:31:20 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH] lib/rte_vhost: fix message handling X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 12:31:21 -0000 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