From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f46.google.com (mail-wm0-f46.google.com [74.125.82.46]) by dpdk.org (Postfix) with ESMTP id 10FB8C618 for ; Thu, 23 Jun 2016 19:06:00 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id r201so58925279wme.1 for ; Thu, 23 Jun 2016 10:06:00 -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=Zq8kFYtA4+U69FL1rGtZQKBFAb1MdsIHyp73REn4azMBO5BLLWK+V3H+PmtoAUo1SB 2562ipsc45bJ4QmwOObm/lolp6WoFSmcWe1K6zLOHE1RrjVUo+KdBZZMdvE9KuOz4l3g c5dddB6g+KdYO3JgsUEBuC3CmAFfkbAKHmGV/tv9Dg1iih187k4ugYVbYFC2VkU3HxpX Vlr7FOT8MGfhwcaRYGZCZGDqNFnX2/v81mtZI9w0fnbOzgTstHmAZJpnpF9hL/SpMAIK 0bZ8rlx6BHjA+Ixcf1V/Hyo4tEN/qYf47JcSPovt1XI/0ci5wvI5J40359HvBiWdvhK3 HcsQ== 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=bT/Lxep0fPJ7MJUPOxlgygsr1JjtzJrxKCp18evFFEPVWKdKO2uZU/zR40DYhODj44 gmkkFLwi/eiM0EyfDZw1um8fpktWjgXZHLqt9iZtUh0ssktCK8XpVZSNg8xigCtgoyd0 Tfmb9v2/1oNuuBRDAZGX0czxcElB9gbx/f8vtwI2dhh7RJy13v+Dk2HU++yCpD5ozWyC FIpZDSgFbitSrkOSG4WKA18wgxff8woBqnfz5fT4ifend8KBjaFMpZUxonvn58MoexBB zWEPKEP6kATIHbtQwXgfNnJg87885rhZprUmtzqZgntE3bY+3quyLuEkzmLKtyi5myE5 KBEA== X-Gm-Message-State: ALyK8tJ0oNcCcfg1dUPOmyk4heLw7ehUR1dw7PZxoKwSl/fTyQt8tHLXQITaydDgjQX5B/KX X-Received: by 10.194.216.106 with SMTP id op10mr33951985wjc.178.1466701559916; Thu, 23 Jun 2016 10:05:59 -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 q63sm4770644wma.0.2016.06.23.10.05.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Jun 2016 10:05:59 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Ferruh Yigit , Adrien Mazarguil Date: Thu, 23 Jun 2016 19:05:17 +0200 Message-Id: <1466700801-10383-11-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466700801-10383-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1466586355-30777-1-git-send-email-nelio.laranjeiro@6wind.com> <1466700801-10383-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH v5 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: Thu, 23 Jun 2016 17:06:00 -0000 Content-Type: text/plain; charset="UTF-8" Message-ID: <20160623170517.ycK2rPTtNvFxo09oqOOtXxyNg3B1-eb0LJbTW_v0oug@z> 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