[dpdk-dev] [PATCH v2 4/8] eal/armv7: define DMA memory barriers

Jianbo Liu jianbo.liu at arm.com
Tue Jan 16 03:48:20 CET 2018


The 01/15/2018 17:10, Yongseok Koh wrote:
> Signed-off-by: Yongseok Koh <yskoh at mellanox.com>
> ---
>  lib/librte_eal/common/include/arch/arm/rte_atomic_32.h | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h
> index 14c048640..a45d5aa2a 100644
> --- a/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h
> +++ b/lib/librte_eal/common/include/arch/arm/rte_atomic_32.h
> @@ -79,6 +79,10 @@ extern "C" {
>
>  #define rte_io_rmb() rte_rmb()
>
> +#define rte_dma_wmb() rte_wmb()
> +
> +#define rte_dma_rmb() rte_rmb()
> +
>  #ifdef __cplusplus
>  }
>  #endif
> --
> 2.11.0
>

Acked-by: Jianbo Liu <jianbo.liu at arm.com>

--
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the dev mailing list