Skip to contentSkip to conversation

net/mlx5: fix mini CQE compression format log

PATCH In review Dariusz Sosnowski 2 participants 2 messages Oct 21 – Oct 26 Network drivers

lore
Share & tools
lore
#0 lore raw

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")
---
 drivers/net/mlx5/mlx5_devx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/mlx5/mlx5_devx.c +2 -2
index 4b30a4fade..374d15a07c 100644
@@ -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