diff options
| author | Harshitha Ramamurthy <hramamurthy@google.com> | 2026-09-30 19:04:18 +0000 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-05 16:30:03 -0700 |
| commit | d6194e4eaff92cc8a432eb5cb5376976bb272b9b (patch) | |
| tree | 9427bfedcc8e326e019fa5be5b522f1971e26dd8 /tools/lib/python/kdoc | |
| parent | 130634764549aa3c4745ee96db57443ded848611 (diff) | |
gve: introduce control plane operations structure
To abstract out the difference in implementation of control
plane operations between the existing Adminq ABI and the upcoming
Mailbox ABI, introduce a new gve_ctrl_ops structure which will
contain the basic operations. At probe, these ops will be set based
on the ABI and the corresponding ops will be called in relevant
places.
As of this patch, only Adminq ops are set. In future patches,
corresponding ops will be set for the new mailbox mode.
Implement a ctrl op to map/unmap the doorbell bar. Since this
functionality has moved to a control op, call this op after control
ops are set for AdminQ mode.
Reviewed-by: Willem de Bruijn <willemb@google.com>
Reviewed-by: Jordan Rhee <jordanrhee@google.com>
Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Harshitha Ramamurthy <hramamurthy@google.com>
Link: https://patch.msgid.link/20260930190428.1130007-3-hramamurthy@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
