[PATCH 1/2] vhost: remove unneeded max enums
Maxime Coquelin
maxime.coquelin at redhat.com
Thu May 5 21:57:48 CEST 2022
On 4/25/22 14:54, David Marchand wrote:
> Move message handler description and callbacks into a single array and
> remove unneeded VHOST_USER_MAX and VHOST_SLAVE_MAX enums.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
> drivers/net/virtio/virtio_user/vhost_user.c | 1 -
> examples/vhost_blk/blk_spec.h | 1 -
> lib/vhost/vhost_user.c | 175 +++++++++-----------
> lib/vhost/vhost_user.h | 2 -
> 4 files changed, 76 insertions(+), 103 deletions(-)
>
Applied to dpdk-next-virtio/main without changing the commit title.
Feel free to change it while pulling if you feel this is relevant.
Thanks,
Maxime
More information about the dev
mailing list