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
Showing
- include/net/xdp_sock.h 0 additions, 20 deletionsinclude/net/xdp_sock.h
- kernel/bpf/Makefile 0 additions, 3 deletionskernel/bpf/Makefile
- net/xdp/Makefile 1 addition, 1 deletionnet/xdp/Makefile
- net/xdp/xsk.h 16 additions, 0 deletionsnet/xdp/xsk.h
- net/xdp/xskmap.c 2 additions, 0 deletionsnet/xdp/xskmap.c
Loading
Please register or sign in to comment