[PATCH v2] vhost: add notify reply ops to fix message deadlock
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 4 04:51:34 CEST 2023
On Tue, 4 Jul 2023 10:32:28 +0800
Rma Ma <rma.ma at jaguarmicro.com> wrote:
> diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c
> index 901a80bbaa..aa61992939 100644
> --- a/lib/vhost/vhost_user.c
> +++ b/lib/vhost/vhost_user.c
> @@ -3365,13 +3365,14 @@ rte_vhost_backend_config_change(int vid, bool need_reply)
> static int vhost_user_backend_set_vring_host_notifier(struct virtio_net *dev,
> int index, int fd,
> uint64_t offset,
> - uint64_t size)
> + uint64_t size,
> + bool need_reply)
> {
I think indentation should match existing code here.
More information about the dev
mailing list