summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorMichael Margolin <mrgolin@amazon.com>2024-10-15 19:42:42 +0200
committerJason Gunthorpe <jgg@nvidia.com>2024-10-21 18:58:07 +0200
commit48931f65e9f785b65244550cc8f0c8bf9eab7acd (patch)
tree216c8b953247aa64dac5f002d94c31a9ae696107 /include/uapi
parentRDMA/efa: Update device interface (diff)
downloadlinux-48931f65e9f785b65244550cc8f0c8bf9eab7acd.tar.xz
linux-48931f65e9f785b65244550cc8f0c8bf9eab7acd.zip
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>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/efa-abi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/uapi/rdma/efa-abi.h b/include/uapi/rdma/efa-abi.h
index d689b8b34189..11b94b0b035b 100644
--- a/include/uapi/rdma/efa-abi.h
+++ b/include/uapi/rdma/efa-abi.h
@@ -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 {