[PATCH v3 13/19] vhost: use rte optional stdatomic API

Maxime Coquelin maxime.coquelin at redhat.com
Thu Oct 26 13:57:01 CEST 2023



On 10/26/23 02:31, Tyler Retzlaff wrote:
> Replace the use of gcc builtin __atomic_xxx intrinsics with
> corresponding rte_atomic_xxx optional stdatomic API
> 
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
> ---
>   lib/vhost/vdpa.c            |  3 ++-
>   lib/vhost/vhost.c           | 42 ++++++++++++++++----------------
>   lib/vhost/vhost.h           | 39 ++++++++++++++++--------------
>   lib/vhost/vhost_user.c      |  6 ++---
>   lib/vhost/virtio_net.c      | 58 +++++++++++++++++++++++++--------------------
>   lib/vhost/virtio_net_ctrl.c |  6 +++--
>   6 files changed, 84 insertions(+), 70 deletions(-)
> 

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list