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

2018-10-09 Thread Tiwei Bie
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

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

2018-10-08 Thread Maxime Coquelin
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 Acked-by: Ilya Maxim