This website requires JavaScript.
Explore
Help
Register
Sign In
Minki
/
linux
Watch
1
Star
0
Fork
1
You've already forked linux
mirror of
https://github.com/torvalds/linux.git
synced
2024-12-26 04:42:12 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bf29e9e9b6
linux
/
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 11:01:24 +00:00
obj-$(CONFIG_XDP_SOCKETS)
+=
xsk.o xdp_umem.o xsk_queue.o
Reference in New Issue
Copy Permalink