[v4 06/10] mempool/dpaa: adjust pool element for LS1043A errata
Stephen Hemminger
stephen at networkplumber.org
Sun Jun 29 18:37:25 CEST 2025
On Wed, 11 Jun 2025 12:40:35 +0530
vanshika.shukla at nxp.com wrote:
> From: Jun Yang <jun.yang at nxp.com>
>
> Adjust every element of pool by populate callback.
> 1) Make sure start DMA address is aligned with 16B.
> 2) For buffer across 4KB boundary, make sure start DMA address is
> aligned with 256B.
>
> Signed-off-by: Jun Yang <jun.yang at nxp.com>
> ---
> drivers/mempool/dpaa/dpaa_mempool.c | 145 +++++++++++++++++++++++++++-
> drivers/mempool/dpaa/dpaa_mempool.h | 11 ++-
> 2 files changed, 150 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/mempool/dpaa/dpaa_mempool.c b/drivers/mempool/dpaa/dpaa_mempool.c
> index 6c850f5cb2..2af6ebcee2 100644
> --- a/drivers/mempool/dpaa/dpaa_mempool.c
> +++ b/drivers/mempool/dpaa/dpaa_mempool.c
> @@ -1,6 +1,6 @@
> /* SPDX-License-Identifier: BSD-3-Clause
> *
> - * Copyright 2017,2019,2023 NXP
> + * Copyright 2017,2019,2023-2025 NXP
> *
> */
>
> @@ -13,6 +13,7 @@
> #include <signal.h>
> #include <pthread.h>
> #include <sys/types.h>
> +
> #include <sys/syscall.h>
>
> #include <eal_export.h>
Please don't introduce unnecessary whitespace changes.
More information about the dev
mailing list