History

IB/mlx5: Support 128B CQE compression feature

In commit 1cbe6fc86ccf ("IB/mlx5: Add support for CQE compressing") the concept of CQE compression was introduced and added a support for 64B CQE size. This change update the code to support 128B CQE size as well.

Guy Levi committed 9 years ago

Commit de57f2a1 parent 0ff8e793 files · +16 −5Browse files

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

Unified · Split

include/uapi/rdma/mlx5-abi.h+6−1
@@ -203,6 +203,11 @@ struct mlx5_ib_striding_rq_caps { · 202 unmodified lines
203203 __u32 supported_qpts;
204204 };
205205
206+enum mlx5_ib_query_dev_resp_flags {
207+ /* Support 128B CQE compression */
208+ MLX5_IB_QUERY_DEV_RESP_FLAGS_CQE_128B_COMP = 1 << 0,
209+};
210+
206211 struct mlx5_ib_query_device_resp {
207212 __u32 comp_mask;
208213 __u32 response_length;
@@ -211,7 +216,7 @@ struct mlx5_ib_query_device_resp { · 2 unmodified lines
211216 struct mlx5_ib_cqe_comp_caps cqe_comp_caps;
212217 struct mlx5_packet_pacing_caps packet_pacing_caps;
213218 __u32 mlx5_ib_support_multi_pkt_send_wqes;
214− __u32 reserved;
219+ __u32 flags; /* Use enum mlx5_ib_query_dev_resp_flags */
215220 struct mlx5_ib_sw_parsing_caps sw_parsing_caps;
216221 struct mlx5_ib_striding_rq_caps striding_rq_caps;
217222 };

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