Skip to content

Commit b75597d

Browse files
Björn Töpelborkmann
Björn Töpel
authored andcommitted
xsk: Remove internal DMA headers
Christoph Hellwig correctly pointed out [1] that the AF_XDP core was pointlessly including internal headers. Let us remove those includes. [1] https://lore.kernel.org/bpf/[email protected]/ Fixes: 1c1efc2 ("xsk: Create and free buffer pool independently from umem") Reported-by: Christoph Hellwig <[email protected]> Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 1028ae4 commit b75597d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

net/xdp/xsk_buff_pool.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
#include <net/xsk_buff_pool.h>
44
#include <net/xdp_sock.h>
55
#include <net/xdp_sock_drv.h>
6-
#include <linux/dma-direct.h>
7-
#include <linux/dma-noncoherent.h>
8-
#include <linux/swiotlb.h>
96

107
#include "xsk_queue.h"
118
#include "xdp_umem.h"

0 commit comments

Comments
 (0)