Re: [dpdk-dev] [PATCH V3 2/5] common/mlx5: update new MMO HCA capabilities
From: Thomas Monjalon <hidden>
Date: 2021-09-22 19:48:08
From: Thomas Monjalon <hidden>
Date: 2021-09-22 19:48:08
15/09/2021 02:05, Raja Zidane:
New MMO HCA capabilities were added and others were renamed. Align hca capabilities with new prm. Add support in devx interface for changes in HCA capabilities. Signed-off-by: Raja Zidane <redacted> Acked-by: Matan Azrad <redacted> ------ a/drivers/common/mlx5/mlx5_devx_cmds.h +++ b/drivers/common/mlx5/mlx5_devx_cmds.h@@ -173,9 +173,14 @@ struct mlx5_hca_attr { uint32_t log_max_srq; uint32_t log_max_srq_sz; uint32_t rss_ind_tbl_cap; - uint32_t mmo_dma_en:1; - uint32_t mmo_compress_en:1; - uint32_t mmo_decompress_en:1; + uint32_t mmo_dma_sq_en:1; + uint32_t mmo_compress_sq_en:1; + uint32_t mmo_decompress_sq_en:1; + uint32_t mmo_dma_qp_en:1; + uint32_t mmo_compress_qp_en:1; + uint32_t mmo_decompress_qp_en:1; + uint32_t mmo_regex_qp_en:1; + uint32_t mmo_regex_sq_en:1;
It does not compile: struct mlx5_hca_attr has no member named mmo_compress_en