From: Adrien Mazarguil Date: Fri, 24 Jun 2016 13:17:58 +0000 (+0200) Subject: net/mlx5: add debug information about Tx queues capabilities X-Git-Tag: spdx-start~6389 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=c2a81fea90d75a5740bc0f2be5f18b0da6391cb4;p=dpdk.git net/mlx5: add debug information about Tx queues capabilities Signed-off-by: Adrien Mazarguil --- diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index 4f17fb0f9f..bae9f3d114 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -343,6 +343,11 @@ txq_ctrl_setup(struct rte_eth_dev *dev, struct txq_ctrl *txq_ctrl, (void *)dev, strerror(ret)); goto error; } + DEBUG("TX queue capabilities: max_send_wr=%u, max_send_sge=%u," + " max_inline_data=%u", + attr.init.cap.max_send_wr, + attr.init.cap.max_send_sge, + attr.init.cap.max_inline_data); attr.mod = (struct ibv_exp_qp_attr){ /* Move the QP to this state. */ .qp_state = IBV_QPS_INIT,