diff options
author | Alexander Duyck <alexanderduyck@fb.com> | 2024-07-12 08:49:47 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-15 12:50:43 -0700 |
commit | 40bf06a160a14eb910c491b6c0deca1821d34cd9 (patch) | |
tree | 4a9f273045e0fb5e315391b269eaa69af9cb7df1 /block/fops.c | |
parent | bc6107771bb4be3009168cfda24d22131c026fe8 (diff) |
eth: fbnic: Implement Tx queue alloc/start/stop/free
Implement basic management operations for Tx queues.
Allocate memory for submission and completion rings.
Learn how to start the queues, stop them, and wait for HW
to be idle.
We call HW rings "descriptor rings" (stored in ring->desc),
and SW context rings "buffer rings" (stored in ring->*_buf union).
This is the first patch which actually touches CSRs so add CSR
helpers.
No actual datapath / packet handling here, yet.
Signed-off-by: Alexander Duyck <alexanderduyck@fb.com>
Link: https://patch.msgid.link/172079938724.1778861.8329677776612865169.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