CQE compressing reduces PCI overhead by coalescing and compressing multiple CQEs into a single merged CQE. Successful compressing improves message rate especially for small packet traffic. CQE compressing is supported for all 64B CQE formats (with certain limitations) generated by RQ/Responder or by SQ/Requestor.
Showing the changes to include/uapi (1 of 2 files). Show all
Unified · Split
| @@ -149,7 +149,9 @@ struct mlx5_ib_create_cq { · 148 unmodified lines | |||
| 149 | __u64 buf_addr; | 149 | __u64 buf_addr; |
| 150 | __u64 db_addr; | 150 | __u64 db_addr; |
| 151 | __u32 cqe_size; | 151 | __u32 cqe_size; |
| 152 | __u32 reserved; /* explicit padding (optional on i386) */ | 152 | __u8 cqe_comp_en; |
| 153 | __u8 cqe_comp_res_format; | ||
| 154 | __u16 reserved; /* explicit padding (optional on i386) */ | ||
| 153 | }; | 155 | }; |
| 154 | 156 | ||
| 155 | struct mlx5_ib_create_cq_resp { | 157 | struct mlx5_ib_create_cq_resp { |