From: Noa Osherovich <noaos@xxxxxxxxxxxx> Add details on CQE compression and SW parsing support. Signed-off-by: Noa Osherovich <noaos@xxxxxxxxxxxx> Reviewed-by: Yishai Hadas <yishaih@xxxxxxxxxxxx> --- providers/mlx5/man/mlx5dv_query_device.3 | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/providers/mlx5/man/mlx5dv_query_device.3 b/providers/mlx5/man/mlx5dv_query_device.3 index c2fe9a3..7a36717 100644 --- a/providers/mlx5/man/mlx5dv_query_device.3 +++ b/providers/mlx5/man/mlx5dv_query_device.3 @@ -21,11 +21,21 @@ of the internal hardware structures that mlx5dv.h represents. Additions of new f structures are handled by comp_mask field. .PP .nf +struct mlx5dv_sw_parsing_caps { +.in +8 +uint32_t sw_parsing_offloads; /* Use enum mlx5dv_sw_parsing_offloads */ +uint32_t supported_qpts; +.in -8 +}; +.PP +.nf struct mlx5dv_context { .in +8 uint8_t version; uint64_t flags; -uint64_t comp_mask; +uint64_t comp_mask; /* Use enum mlx5dv_context_comp_mask */ +struct mlx5dv_cqe_comp_caps cqe_comp_caps; +struct mlx5dv_sw_parsing_caps sw_parsing_caps; .in -8 }; @@ -40,6 +50,26 @@ enum mlx5dv_context_flags { MLX5DV_CONTEXT_FLAGS_ENHANCED_MPW = (1 << 3), /* Enhanced multi packet WQE is supported or not */ .in -8 }; + +.PP +.nf +enum mlx5dv_context_comp_mask { +.in +8 +MLX5DV_CONTEXT_MASK_CQE_COMPRESION = 1 << 0, +MLX5DV_CONTEXT_MASK_SWP = 1 << 1, +MLX5DV_CONTEXT_MASK_RESERVED = 1 << 2, +.in -8 +}; + +.PP +.nf +enum enum mlx5dv_sw_parsing_offloads { +.in +8 +MLX5DV_SW_PARSING = 1 << 0, +MLX5DV_SW_PARSING_CSUM = 1 << 1, +MLX5DV_SW_PARSING_LSO = 1 << 2, +.in -8 +}; .fi .SH "RETURN VALUE" 0 on success or the value of errno on failure (which indicates the failure reason). -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html