Skip to content

Commit b75597d

Browse files
Björn Töpelborkmann
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/20201005084341.GA3224@infradead.org/ Fixes: 1c1efc2 ("xsk: Create and free buffer pool independently from umem") Reported-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/bpf/20201005090525.116689-1-bjorn.topel@gmail.com
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)