diff options
author | 2025-02-04 13:56:20 -0800 | |
---|---|---|
committer | 2025-02-06 16:27:31 -0800 | |
commit | 56102c013fa7b8dbba8c5d5f7e042ad5f18cf4ec (patch) | |
tree | dd9ebe9e069b8648a940da7b4e6cfe925adca615 /net/lapb/lapb_timer.c | |
parent | net: prepare for non devmem TCP memory providers (diff) | |
download | wireguard-linux-56102c013fa7b8dbba8c5d5f7e042ad5f18cf4ec.tar.xz wireguard-linux-56102c013fa7b8dbba8c5d5f7e042ad5f18cf4ec.zip |
net: page_pool: add memory provider helpers
Add helpers for memory providers to interact with page pools.
net_mp_niov_{set,clear}_page_pool() serve to [dis]associate a net_iov
with a page pool. If used, the memory provider is responsible to match
"set" calls with "clear" once a net_iov is not going to be used by a page
pool anymore, changing a page pool, etc.
Acked-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://patch.msgid.link/20250204215622.695511-10-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions