Acked-by: Chengwen Feng <[email protected]>

On 3/3/2026 5:18 PM, Liangxing Wang wrote:
> Fixes: 2f2f7af66791 ("app/dma-perf: fix crash with IOVA as physical address")
> Cc: [email protected]
> 
> Signed-off-by: Liangxing Wang <[email protected]>
> ---
>  app/test-dma-perf/benchmark.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-perf/benchmark.c
> index b6125d86f9..5f6c022ad7 100644
> --- a/app/test-dma-perf/benchmark.c
> +++ b/app/test-dma-perf/benchmark.c
> @@ -520,8 +520,8 @@ do_cpu_mem_copy(void *p)
>  
>       while (1) {
>               for (i = 0; i < nr_buf; i++) {
> -                     const void *src = rte_pktmbuf_mtod(dsts[i], void *);
> -                     void *dst = rte_pktmbuf_mtod(srcs[i], void *);
> +                     const void *src = rte_pktmbuf_mtod(srcs[i], void *);
> +                     void *dst = rte_pktmbuf_mtod(dsts[i], void *);
>  
>                       /* copy buffer form src to dst */
>                       rte_memcpy(dst, src, (size_t)buf_size);

Reply via email to