diff options
author | Kal Conley <kal.conley@dectris.com> | 2023-04-23 20:01:56 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-04-27 22:24:51 +0200 |
commit | 6ec7be9a2d2b09815f69fc2183ec31857eaa6e27 (patch) | |
tree | 6bf5f263e108d9ec9e418a2d088de890834f700f /MAINTAINERS | |
parent | selftests/bpf: Update the aarch64 tests deny list (diff) | |
download | linux-6ec7be9a2d2b09815f69fc2183ec31857eaa6e27.tar.xz linux-6ec7be9a2d2b09815f69fc2183ec31857eaa6e27.zip |
xsk: Use pool->dma_pages to check for DMA
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@dectris.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Acked-by: Magnus Karlsson <magnus.karlsson@intel.com>
Link: https://lore.kernel.org/bpf/20230423180157.93559-1-kal.conley@dectris.com
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions