[dpdk-dev] [PATCH v4 02/19] vhost: fix return code of messages requiring replies

Tiwei Bie tiwei.bie at intel.com
Tue Oct 9 10:05:22 CEST 2018


On Mon, Oct 08, 2018 at 05:25:40PM +0200, Maxime Coquelin wrote:
> VHOST_USER_GET_PROTOCOL_FEATURES, VHOST_USER_GET_VRING_BASE
> and VHOST_USER_SET_LOG_BASE require replies, so their handlers
> should return VH_RESULT_REPLY, not VH_RESULT_OK.
> 
> Fixes: 0bff510b5ea6 ("vhost: unify message handling function signature")
> 
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> Acked-by: Ilya Maximets <i.maximets at samsung.com>
> ---
>  lib/librte_vhost/vhost_user.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Tiwei Bie <tiwei.bie at intel.com>


More information about the dev mailing list