xsk: Move xskmap.c to net/xdp/
authorBjörn Töpel <bjorn.topel@intel.com>
Wed, 20 May 2020 19:20:50 +0000 (21:20 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 22 May 2020 00:31:26 +0000 (17:31 -0700)
commitd20a1676df7e4c3c23d73299159811a50e4854bc
tree5492329a8b772bb2e1291b680ebb5e544107364e
parent44ac082b30dc2a05a7e23ed7e17b5f9513873386
xsk: Move xskmap.c to net/xdp/

The XSKMAP is partly implemented by net/xdp/xsk.c. Move xskmap.c from
kernel/bpf/ to net/xdp/, which is the logical place for AF_XDP related
code. Also, move AF_XDP struct definitions, and function declarations
only used by AF_XDP internals into net/xdp/xsk.h.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200520192103.355233-3-bjorn.topel@gmail.com
include/net/xdp_sock.h
kernel/bpf/Makefile
kernel/bpf/xskmap.c [deleted file]
net/xdp/Makefile
net/xdp/xsk.h
net/xdp/xskmap.c [new file with mode: 0644]