Set the field to allow posting multi packet send WQEs if hardware supports this feature. This doesn't mean the send WQEs will be for multi packet unless the send WQE was prepared according to multi packet send WQE format. User space shall use flag MLX5_IB_ALLOW_MPW to check if hardware supports MPW and allows MPW in SQ context.
Showing the changes to include/uapi (1 of 4 files). Show all
Unified · Split
| @@ -168,6 +168,11 @@ struct mlx5_packet_pacing_caps { · 167 unmodified lines | ||
| 168 | 168 | __u32 reserved; |
| 169 | 169 | }; |
| 170 | 170 | |
| 171 | +enum mlx5_ib_mpw_caps { | |
| 172 | + MPW_RESERVED = 1 << 0, | |
| 173 | + MLX5_IB_ALLOW_MPW = 1 << 1, | |
| 174 | +}; | |
| 175 | + | |
| 171 | 176 | enum mlx5_ib_sw_parsing_offloads { |
| 172 | 177 | MLX5_IB_SW_PARSING = 1 << 0, |
| 173 | 178 | MLX5_IB_SW_PARSING_CSUM = 1 << 1, |