RDMA/efa: Add option to set QP service level on create
Using modify QP with AH attributes and IB_QP_AV flag set doesn't make much sense for connectionless QP types like SRD. Add SL parameter to EFA create QP user ABI and pass it to the device. Link: https://patch.msgid.link/r/20241015174242.3490-3-mrgolin@amazon.com Reviewed-by: Firas Jahjah <firasj@amazon.com> Reviewed-by: Yonatan Nachum <ynachum@amazon.com> Signed-off-by: Michael Margolin <mrgolin@amazon.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
This commit is contained in:
committed by
Jason Gunthorpe
parent
1e7b86f1b2
commit
48931f65e9
@@ -95,7 +95,8 @@ struct efa_ibv_create_qp {
|
||||
__u32 sq_ring_size; /* bytes */
|
||||
__u32 driver_qp_type;
|
||||
__u16 flags;
|
||||
__u8 reserved_90[6];
|
||||
__u8 sl;
|
||||
__u8 reserved_98[5];
|
||||
};
|
||||
|
||||
struct efa_ibv_create_qp_resp {
|
||||
|
||||
Reference in New Issue
Block a user