summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSnehal Sanghvi <snsanghvi@microsoft.com>2026-09-02 08:38:13 -0700
committerLeon Romanovsky <leon@kernel.org>2026-09-06 03:35:17 -0400
commit89b48ad5671fa082645f1be7e933236ac21de974 (patch)
tree621cefbf8bd72afd022b7329a5e66a3f6b02bc9e /tools/lib/python
parent905dc5f0d98e3c081aa36d81989ec7a69df70d92 (diff)
RDMA/mana_ib: advertise pow2 RC SQ support to user space
The send queue of an RC QP normally needs an extra rollback area in shared memory. With fixed-size WQEs the rollback can be derived from the WQE size alone, so an adapter supporting it can accept a plain power-of-two send queue and the rollback area becomes unnecessary. Report the adapter capability to user space with a new comp_mask bit in the alloc ucontext response, so that user space can request a power-of-two RC send queue when the adapter supports it. Signed-off-by: Snehal Sanghvi <snsanghvi@microsoft.com> Link: https://patch.msgid.link/20260902153813.3385076-1-snsanghvi@linux.microsoft.com Reviewed-by: Konstantin Taranov <kotaranov@microsoft.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions