Skip to contentSkip to conversation

net/mlx5: log Rx queue CQ number

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: log Rx queue CQ number

Log CQ number of the completion queue created through DevX for each Rx queue during port start,
to allow easier debugging with FW tools.

---
 drivers/net/mlx5/mlx5_devx.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/mlx5/mlx5_devx.c +1 -0
index 374d15a07c..bec0aa8ca3 100644
@@ -526,6 +526,7 @@ mlx5_rxq_create_devx_cq_resources(struct mlx5_rxq_priv *rxq)
 			return -ret;
 		}
 	}
+	DRV_LOG(DEBUG, "Port %u Rx queue %u cqn=%u", port_id, rxq->idx, rxq_data->cqn);
 	return 0;
 }
 

--
2.43.0