[PATCH v2 1/1] vhost: move fds outside of VhostUserMessage
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Feb 8 12:12:34 CET 2022
On 2/7/22 11:21, Christophe Fontaine wrote:
> From: Christophe Fontaine <christophefontaine at mac.com>
>
> FDs at the end of the VhostUserMessage structure limits the size
> of the payload. Move them to an other englobing structure, before
> the header & payload of a VhostUserMessage.
> Also removes a reference to fds in the VHUMsg structure defined in
> drivers/net/virtio/virtio_user/vhost_user.c
>
> Signed-off-by: Christophe Fontaine <cfontain at redhat.com>
> ---
> drivers/net/virtio/virtio_user/vhost_user.c | 1 -
> lib/vhost/vhost_crypto.c | 10 +-
> lib/vhost/vhost_user.c | 534 ++++++++++----------
> lib/vhost/vhost_user.h | 7 +-
> 4 files changed, 290 insertions(+), 262 deletions(-)
>
Applied to dpdk-next-virtio/main.
Thanks,
Maxime
More information about the dev
mailing list