Re: [dpdk-dev] [PATCH v1 4/5] vhost: unify message handling function signature

2018-07-09 Thread Tiwei Bie
On Tue, Jun 26, 2018 at 07:19:31PM +0300, Nikolay Nikolaev wrote: > Each vhost-user message handlign function will return an int result s/handlign/handling > which is described in the new enum vh_result: error, OK and reply. > All functions will now have two arguments, virtio_net double pointer >

[dpdk-dev] [PATCH v1 4/5] vhost: unify message handling function signature

2018-06-26 Thread Nikolay Nikolaev
Each vhost-user message handlign function will return an int result which is described in the new enum vh_result: error, OK and reply. All functions will now have two arguments, virtio_net double pointer and VhostUserMsg pointer. Signed-off-by: Nikolay Nikolaev --- lib/librte_vhost/vhost_user.c