diff options
author | Mina Almasry <almasrymina@google.com> | 2024-09-10 17:14:48 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-09-11 20:44:31 -0700 |
commit | 28c5c74eeaa0a2aad8b9cd9ede22a4c623f2a7fc (patch) | |
tree | 85d3db22839b9c4e256d4a87bacdc610da9ed655 /net/core/page_pool.c | |
parent | 170aafe35cb98e0f3fbacb446ea86389fbce22ea (diff) |
netdev: netdevice devmem allocator
Implement netdev devmem allocator. The allocator takes a given struct
netdev_dmabuf_binding as input and allocates net_iov from that
binding.
The allocation simply delegates to the binding's genpool for the
allocation logic and wraps the returned memory region in a net_iov
struct.
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Kaiyuan Zhang <kaiyuanz@google.com>
Signed-off-by: Mina Almasry <almasrymina@google.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20240910171458.219195-5-almasrymina@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/page_pool.c')
0 files changed, 0 insertions, 0 deletions