From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 84D0AC690 for ; Fri, 24 Jun 2016 10:53:50 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id r201so15983162wme.1 for ; Fri, 24 Jun 2016 01:53:50 -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=byxM8XyySvw/ZeRHgfrkI0gjJIm6kQugM2O0Q2ZjiuM=; b=wWO6urhcPsVIuBPAnZVY78OUijqBvNW5gAESTnpJThGC4k9FKRHSDXadQciMa3Ctpw 2o/Z7j9yVwdmK2C7MwV28O7fKqAsX7zl/RZ8mjB7vlOIOtonrZd3CyKsleIY9XaEubOR eyfcfzTtEv47oXgIkwOcO6SC7SAvHnlI9etZWzKP6Wt/0CCgSIC1RuYpbICcsyew6S3d /JdPeUX5z9bqpg/etQ326exQ4eWRs9NCoRJvv6C6BDLR3BlhCRp767idlwHwueeoDFUO O0kH0hB0oPlmFbBHguKJXzFpk+rgHi9DASVFQC/RiZ9w3EmT7vycLBmyYUZRo5/9UWxT Futg== 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=byxM8XyySvw/ZeRHgfrkI0gjJIm6kQugM2O0Q2ZjiuM=; b=aGCrMqeN1DQwkdnc2Gfl1INLWltjfqRAi/sDJ8SoNb5J1BMr0WaPeUXAqCYGrtym4G /weiQLzpMq3UxNif3h7wSMzvFbAudci7l232vyTDsHJBMGhmIlKD7oMsKf2wqAd0xIhE Lm5jGMFR5a1PzkRCQOPR7qa1dE14bZEXAnYsaQILeNlZIdOpcwJVtzUkUpmeceqXrej9 YFELphDE7FTIjfshCG9d4qwAUfwhnbeeKJAf2IYi+4y6W/PSZDJdjEp8Ojn5e5xEAphq ca8m5eRsqqtfmD2zDR01nD7SIuiubOY5mQM0g2GAxa38krOZqYqCl4gReOFQHqM3naK3 tU4g== X-Gm-Message-State: ALyK8tIhmOfIzody9JGmHE1DNG8AJd45xLYFWRtbhIKc4Ft2j6dqQdqo0Xc805m7YFngkx8D X-Received: by 10.194.153.98 with SMTP id vf2mr2593955wjb.72.1466758430369; Fri, 24 Jun 2016 01:53:50 -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 t188sm2060584wma.8.2016.06.24.01.53.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 01:53:49 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Bruce Richardson , Ferruh Yigit , Adrien Mazarguil Date: Fri, 24 Jun 2016 10:50:55 +0200 Message-Id: <1466758261-25986-20-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466758261-25986-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1466700801-10383-1-git-send-email-nelio.laranjeiro@6wind.com> <1466758261-25986-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH v6 19/25] 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: Fri, 24 Jun 2016 08:53:50 -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 4f17fb0..bae9f3d 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, -- 2.1.4