linux/net/xdp
Magnus Karlsson 7361f9c3d7 xsk: Move fill and completion rings to buffer pool
Move the fill and completion rings from the umem to the buffer
pool. This so that we in a later commit can share the umem
between multiple HW queue ids. In this case, we need one fill and
completion ring per queue id. As the buffer pool is per queue id
and napi id this is a natural place for it and one umem
struture can be shared between these buffer pools.

Signed-off-by: Magnus Karlsson <magnus.karlsson@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/bpf/1598603189-32145-5-git-send-email-magnus.karlsson@intel.com
2020-08-31 21:15:04 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile xsk: Introduce AF_XDP buffer allocation API 2020-05-21 17:31:26 -07:00
xdp_umem.c xsk: Move fill and completion rings to buffer pool 2020-08-31 21:15:04 +02:00
xdp_umem.h xsk: Create and free buffer pool independently from umem 2020-08-31 21:15:04 +02:00
xsk_buff_pool.c xsk: Move fill and completion rings to buffer pool 2020-08-31 21:15:04 +02:00
xsk_diag.c xsk: Move fill and completion rings to buffer pool 2020-08-31 21:15:04 +02:00
xsk_queue.c xsk: Remove MEM_TYPE_ZERO_COPY and corresponding code 2020-05-21 17:31:27 -07:00
xsk_queue.h xsk: Create and free buffer pool independently from umem 2020-08-31 21:15:04 +02:00
xsk.c xsk: Move fill and completion rings to buffer pool 2020-08-31 21:15:04 +02:00
xsk.h xsk: Create and free buffer pool independently from umem 2020-08-31 21:15:04 +02:00
xskmap.c bpf: Relax max_entries check for most of the inner map types 2020-08-28 15:41:30 +02:00