On Tue, 12 Aug 2025 23:43:58 -0700
Dimon Zhao <dimon.z...@nebula-matrix.com> wrote:

> diff --git a/drivers/net/nbl/nbl_common/nbl_common.c 
> b/drivers/net/nbl/nbl_common/nbl_common.c
> new file mode 100644
> index 0000000000..06dfbe7cc6
> --- /dev/null
> +++ b/drivers/net/nbl/nbl_common/nbl_common.c
> @@ -0,0 +1,48 @@
> +/* SPDX-License-Identifier: BSD-3-Clause
> + * Copyright 2025 Nebulamatrix Technology Co., Ltd.
> + */
> +
> +#include "nbl_common.h"
> +
> +uint32_t __rte_atomic nbl_dma_memzone_id;

__rte_atomic is old way. Newer code should be use stdatomic ie. RTE_ATOMIC().

Reply via email to