This website requires JavaScript.
Explore
Help
Sign In
hollalinux
/
linux-sg2042
mirror of
https://github.com/sophgo/linux-riscv.git
Watch
1
Star
0
Fork
You've already forked linux-sg2042
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
50e74c0131
linux-sg2042
/
net
/
xdp
/
Makefile
2 lines
58 B
Makefile
Raw
Normal View
History
Unescape
Escape
xsk: add umem fill queue support and mmap Here, we add another setsockopt for registered user memory (umem) called XDP_UMEM_FILL_QUEUE. Using this socket option, the process can ask the kernel to allocate a queue (ring buffer) and also mmap it (XDP_UMEM_PGOFF_FILL_QUEUE) into the process. The queue is used to explicitly pass ownership of umem frames from the user process to the kernel. These frames will in a later patch be filled in with Rx packet data by the kernel. v2: Fixed potential crash in xsk_mmap. Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2018-05-02 19:01:24 +08:00
obj-$(CONFIG_XDP_SOCKETS)
+=
xsk.o xdp_umem.o xsk_queue.o