[dpdk-dev] [PATCH] lib/rte_vhost: fix message handling

Zhang, Roy Fan roy.fan.zhang at intel.com
Tue Oct 16 14:53:30 CEST 2018


Hi Maxime,

Oh, sorry I didn't pull the virtio sub-tree to check.

Thanks a lot!

Regards,
Fan

> -----Original Message-----
> From: Maxime Coquelin [mailto:maxime.coquelin at redhat.com]
> Sent: Tuesday, October 16, 2018 1:31 PM
> To: Zhang, Roy Fan <roy.fan.zhang at intel.com>; dev at dpdk.org
> Cc: nicknickolaev at gmail.com
> Subject: Re: [PATCH] lib/rte_vhost: fix message handling
> 
> 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 at gmail.com
> >
> > Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> > ---
> >   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


More information about the dev mailing list