Re: [PATCH] xsk: Use pool->dma_pages to check for DMA

From: Kal Cutter Conley
Date: Sun Apr 23 2023 - 13:54:56 EST


> Compare pool->dma_pages instead of pool->dma_pages_cnt to check for an
> active DMA mapping. pool->dma_pages needs to be read anyway to access
> the map so this compiles to more efficient code.
>
> Signed-off-by: Kal Conley <kal.conley@xxxxxxxxxxx>
> Acked-by: Magnus Karlsson <magnus.karlsson@xxxxxxxxx>

I forgot to specify the target tree. This patch should be applied to bpf-next.