[dpdk-dev] [PATCH v5 4/5] vhost: unify message handling function signature
Burakov, Anatoly
anatoly.burakov at intel.com
Mon Sep 24 17:54:44 CEST 2018
On 24-Sep-18 4:21 PM, Nikolay Nikolaev wrote:
> Each vhost-user message handling 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 <nicknickolaev at gmail.com>
> ---
<snip>
> get_blk_size(int fd)
> {
> @@ -127,27 +137,31 @@ vhost_backend_cleanup(struct virtio_net *dev)
> * the device hasn't been initialised.
> */
> static int
> -vhost_user_set_owner(void)
> +vhost_user_set_owner(struct virtio_net **pdev __rte_unused,
> + VhostUserMsg * msg __rte_unused)
Missed a few instances of using a typedef in this patch.
--
Thanks,
Anatoly
More information about the dev
mailing list