diff options
author | Alexander Duyck <alexanderduyck@fb.com> | 2024-07-12 08:49:50 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-15 12:50:43 -0700 |
commit | 0cb4c0a13723ef6dd06be8f913443897a0ffccb5 (patch) | |
tree | a4f9fc9fa83511ae1db35953d38b30089df5e9a2 /block/fops.c | |
parent | 40bf06a160a14eb910c491b6c0deca1821d34cd9 (diff) |
eth: fbnic: Implement Rx queue alloc/start/stop/free
Implement control path parts of Rx queue handling.
The NIC consumes memory in pages. It takes a full page and places
packets into it in a configurable manner (with the ability to define
headroom / tailroom as well as head alignment requirements).
As mentioned in prior patches there are two page submissions queues
one for packet headers and second (optional) for packet payloads.
For now feed both queues from a single page pool.
Use the page pool "fragment" API, as we can't predict upfront
how the page will be sliced.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/172079939092.1778861.3780136633831329550.stgit@ahduyck-xeon-server.home.arpa
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'block/fops.c')
0 files changed, 0 insertions, 0 deletions