Skip to contentSkip to conversation

xsk: remove internal DMA headers

PATCH Applied Björn Töpel 3 participants 3 messages Oct 5, 2020

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xsk: remove internal DMA headers

From: Björn Töpel <[email protected]>

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 1c1efc2af158 ("xsk: Create and free buffer pool independently from umem")
---
 net/xdp/xsk_buff_pool.c | 3 ---
 1 file changed, 3 deletions(-)
net/xdp/xsk_buff_pool.c +0 -3
index e63fadd000db..64c9e55d4d4e 100644
@@ -3,9 +3,6 @@
 #include <net/xsk_buff_pool.h>
 #include <net/xdp_sock.h>
 #include <net/xdp_sock_drv.h>
-#include <linux/dma-direct.h>
-#include <linux/dma-noncoherent.h>
-#include <linux/swiotlb.h>
 
 #include "xsk_queue.h"
 #include "xdp_umem.h"

base-commit: 1028ae4069991e26d1522e957939fb61d2da1d12

Signature · 1 line
2.25.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Bj??rn T??pel

From: Bj??rn T??pel <[email protected]>

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 1c1efc2af158 ("xsk: Create and free buffer pool independently from umem")

Thanks:

#2 lore raw
In reply to Björn Töpel
This patch was applied to bpf/bpf-next.git (refs/heads/master):

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

Quoted 8 lines · On Mon, 5 Oct 2020 11:05:25 +0200 you wrote:

From: Björn Töpel <[email protected]>

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]/

[...]

Here is the summary with links:
- [bpf-next] xsk: remove internal DMA headers

    https://git.kernel.org/bpf/bpf-next/c/b75597d8947f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html