forked from linux-rdma/rdma-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pyverbs: Allow users to set QP caps through QPInitAttr and QPInitAttrEx
A common practice in C is to modify QP capabilities as follows: qp_init_attr.cap.max_send_wr = <some value> It's impossible to use this syntax in pyverbs, since qp_init_attr.cap is a getter which returns a copy of the QP caps to the user rather than an object which holds the same C QP caps. Add new properties to QPInitAttr and QPInitAttrEx to allow direct modification these values, e.g.: qp_init_attr.max_send_wr = <some value> Signed-off-by: Noa Osherovich <noaos@mellanox.com>
- Loading branch information
Showing
1 changed file
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters