History

IB/mlx5: Expose multi-packet RQ capabilities

This patch reports the device's striding RQ capabilities to the user-space: - min/max_single_stride_log_num_of_bytes: Log of min/max number of bytes in a single stride. - min/max_single_wqe_log_num_of_strides: Log of min/max number of strides in a single WQE. - supported_qpts: A bit mask to know which QP types support multi- packet RQ, for now only Raw Packet QPs.

Noa Osherovich committed 9 years ago

Commit b4f34591 parent b1562693 files · +35 −0Browse files

Showing the changes to include/uapi (1 of 3 files). Show all

Unified · Split

include/uapi/rdma/mlx5-abi.h+14−0
@@ -190,6 +190,19 @@ struct mlx5_ib_sw_parsing_caps { · 189 unmodified lines
190190 __u32 supported_qpts;
191191 };
192192
193+struct mlx5_ib_striding_rq_caps {
194+ __u32 min_single_stride_log_num_of_bytes;
195+ __u32 max_single_stride_log_num_of_bytes;
196+ __u32 min_single_wqe_log_num_of_strides;
197+ __u32 max_single_wqe_log_num_of_strides;
198+
199+ /* Corresponding bit will be set if qp type from
200+ * 'enum ib_qp_type' is supported, e.g.
201+ * supported_qpts |= 1 << IB_QPT_RAW_PACKET
202+ */
203+ __u32 supported_qpts;
204+};
205+
193206 struct mlx5_ib_query_device_resp {
194207 __u32 comp_mask;
195208 __u32 response_length;
@@ -200,6 +213,7 @@ struct mlx5_ib_query_device_resp { · 4 unmodified lines
200213 __u32 mlx5_ib_support_multi_pkt_send_wqes;
201214 __u32 reserved;
202215 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;
216+ struct mlx5_ib_striding_rq_caps striding_rq_caps;
203217 };
204218
205219 struct mlx5_ib_create_cq {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t