net/mlx5: fix mini CQE compression format log
PATCH 1/1 net/mlx5: fix mini CQE compression format log
Configured mini CQE compression format was logged on CQ creation, but not the actually used one. This patch adds logging of both. Also Rx queue index is added to the log.
Fixes 54c2d46b160f ("net/mlx5: support flow tag and packet header miniCQEs")
Signed-off-by Dariusz Sosnowski <[email protected]>
--- drivers/net/mlx5/mlx5_devx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/mlx5/mlx5_devx.c +2 -2
@@ -478,8 +478,8 @@ mlx5_rxq_create_devx_cq_resources(struct mlx5_rxq_priv *rxq)break ; }DRV_LOG (DEBUG , -"Port %u Rx CQE compression is enabled, format %d." , - port_id, priv->config.cqe_comp_fmt); +"Port %u Rx queue %u CQE compression is enabled, format %u (configured %u)" , + port_id, rxq->idx, rxq_data->mcqe_format, priv->config.cqe_comp_fmt);/* * For vectorized Rx, it must not be doubled in order to * make cq_ci and rq_ci aligned.
--
2.43.0
Patch applied to next-net-mlx.