aboutsummaryrefslogtreecommitdiffstats
path: root/net/xdp/xsk_queue.h
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-06-04 14:05:51 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-05 15:45:17 +0200
commite61e62b9e2cc14b336f330f37f517f9d373ff31e (patch)
tree8e01c17d6a4af2ec1347d2455863fb0bcb757e18 /net/xdp/xsk_queue.h
parentMerge branch 'bpf-xdp-remove-xdp-flush' (diff)
downloadlinux-dev-e61e62b9e2cc14b336f330f37f517f9d373ff31e.tar.xz
linux-dev-e61e62b9e2cc14b336f330f37f517f9d373ff31e.zip
xsk: moved struct xdp_umem definition
Moved struct xdp_umem to xdp_sock.h, in order to prepare for zero-copy support. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'net/xdp/xsk_queue.h')
-rw-r--r--net/xdp/xsk_queue.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/xdp/xsk_queue.h b/net/xdp/xsk_queue.h
index 337e5ad3b10e..5246ed420a16 100644
--- a/net/xdp/xsk_queue.h
+++ b/net/xdp/xsk_queue.h
@@ -8,8 +8,7 @@
#include <linux/types.h>
#include <linux/if_xdp.h>
-
-#include "xdp_umem_props.h"
+#include <net/xdp_sock.h>
#define RX_BATCH_SIZE 16