From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id 5EE81ADCA for ; Wed, 8 Jun 2016 11:48:36 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id n184so173198785wmn.1 for ; Wed, 08 Jun 2016 02:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=yZgAvU0T+UomhttsW4qdSFR8JXfAPRUY2YnnhMX/Zsc=; b=lNXrdLVzyDD4sUK5wzINIt7mBtF8jRJTf6tdTRXru038M7OzmhLxaBcNii+YAB/6F/ 4G4OEcl0tUOgHfdeeRwxwHQ8rMBr+daYh6ZTyuIpstvwJ9Ywdp5Wb3huyeLXB98d0hUp b6+NKzDMaZnabtUvy38Z8OkBjy9S2wL2eKDwjWQLATzV5lgvjxsZFV8XN/VSVgG8mTXY Ywll+MIX2vMTWrJ2b38ZF71JAss+5q00K4EL2/kmKz3Hb4kEem6m5P8dwH7CzDPXEjWo 2Jz7ke4UiFBYZdrEx3SKvmwiyEeW0kBErp2I7xWIHmRah6waBLbIwZ88PQfCQKbyyVI2 LB/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=yZgAvU0T+UomhttsW4qdSFR8JXfAPRUY2YnnhMX/Zsc=; b=KylRFPF4aLTNrNmPaUNSZP3+mYPnbJLZ1Se6hcU/r3LIponj65ZaPk5q+xmDZ7c1jn T2YbKREgwEC2u4/p0v/lNuXM0bBXQz+449OwDX/Jj6iVpdDcliXCIcCjDWBBlsM8OvjD lKYc5DcCIH0mSpiP5DFLG9XOtEWnHdPXxxtVxBdRHUS93UJz7BBehj9jVMjvAA54BR6d mgo111TNRQ4rq7v7vwOtUzRaWxy2yV1Se14HPce78ukVZ6EB4uxji8tOpERJH9QtgkIV DxSrFyPf2CaFMUZiJaA5OKzy8/a5AFiohkgWletvpiH1QA0qn1ThKQpumEuazH6nhGMi vrfg== X-Gm-Message-State: ALyK8tIcnLttd1LPeggCSuTAqsWDiZI3LrGECbd26sxdSV0eALClJ8ZwLhSu9uZufO3obMcR X-Received: by 10.28.228.137 with SMTP id b131mr6732068wmh.43.1465379316241; Wed, 08 Jun 2016 02:48:36 -0700 (PDT) Received: from ping.vm.6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id c185sm23899214wme.9.2016.06.08.02.48.35 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Jun 2016 02:48:35 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Adrien Mazarguil Date: Wed, 8 Jun 2016 11:48:05 +0200 Message-Id: <1465379291-25310-19-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1465379291-25310-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1465379291-25310-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH 18/24] mlx5: add debugging information about TX queues capabilities X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2016 09:48:36 -0000 From: Adrien Mazarguil Signed-off-by: Adrien Mazarguil --- drivers/net/mlx5/mlx5_txq.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index 15c8f73..d013230 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -334,6 +334,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, -- 2.1.4