[PATCH v2 2/2] test/dma: add functions to verify zero and one fill
Thomas Monjalon
thomas at monjalon.net
Tue Nov 19 18:11:47 CET 2024
19/04/2024 11:07, Vidya Sagar Velumuri:
> Add test cases to verify zero fill and one fill
>
> Signed-off-by: Vidya Sagar Velumuri <vvelumuri at marvell.com>
Waiting for review from DMA maintainers.
> diff --git a/app/test/test.h b/app/test/test.h
> index 15e23d297f..0ca6519f6e 100644
> --- a/app/test/test.h
> +++ b/app/test/test.h
> @@ -27,6 +27,10 @@
>
> #include <rte_test.h>
>
> +#ifndef ARRAY_SIZE
> +#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
> +#endif
Just one comment about this one: please use RTE_DIM.
More information about the dev
mailing list