[dpdk-dev] [PATCH v2] vhost: optimize broadcast rarp sync with c11 atomic
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Apr 28 18:06:31 CEST 2020
On 4/23/20 6:54 PM, Phil Yang wrote:
> The rarp packet broadcast flag is synchronized with rte_atomic_XX APIs
> which is a full barrier, DMB, on aarch64. This patch optimized it with
> c11 atomic one-way barrier.
>
> Signed-off-by: Phil Yang <phil.yang at arm.com>
> Reviewed-by: Gavin Hu <gavin.hu at arm.com>
> Reviewed-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> Reviewed-by: Joyce Kong <joyce.kong at arm.com>
> ---
> v2:
> split from the 'generic rte atomic APIs deprecate proposal' patchset.
>
> lib/librte_vhost/vhost.h | 2 +-
> lib/librte_vhost/vhost_user.c | 7 +++----
> lib/librte_vhost/virtio_net.c | 16 +++++++++-------
> 3 files changed, 13 insertions(+), 12 deletions(-)
Applied to dpdk-next-virtio/master
Thanks,
Maxime
More information about the dev
mailing list