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 025F6C70C for ; Fri, 24 Jun 2016 15:19:17 +0200 (CEST) Received: by mail-wm0-f46.google.com with SMTP id f126so22260220wma.1 for ; Fri, 24 Jun 2016 06:19:17 -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=AuKy8hA+FhvhS3UgaOd0FONpbDeJd5IRDMhokcVgwXUj8oheSVmir/yM8tdlLxlvi1 KjHxh4HWC3d83m87c2HXZrdjG2sdUaGflvokzd7nWRvpVr5GVUQFkNdqaKE00y9EqRSe WWvWHSu82RHsE6JvQ+8c8T7wcpwtLR8hglhqbQSVAEqPLDSfMYvgKXo8VUOnysJJYD7e yGwTAEroyp3nJTPLVOJg4+QTR3HCy4cW0Vs3nGppo+CTIdvaPMfW/hUO1b6K1HQeCKEP FOKvQ/AehCP9CbafyN7CiEXJT0lPs9Z5SP1kRFNRd9jronZdd2t+fe3Elr7tbB2vlqbH FsQw== 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=Vyfxx/mtQSb5unSgUUwBjCkq3Pb/VH2iLniIA8lSIv7DWrW6OEKb8Bn2yMVQhmfAiC y/rL65EGsMWoNhePO43t/uhRT/RjnI2IxmcCRnY1RlZvRQqSnF5OPjNfM4pQ2kjgfhEQ HJ34Jm+Rg94UbTBRg6bYgjS2st+aTvcJCLbQdMhMTLC7wb8wp1vok9f3JCB8Fn7Gi0Sz RPXPOI3sfrrYxmHhmQwHo4VCDHwiEQas/w6ou3Hpg/nPeisb3NB9AoUdGRXEbCAJOq5L /m64LCkWuwYkdsEDECtGEyRFqSKCuj5SAX6EdgZ3F8uUJ9omFK/xyB0YaU8dkCCG851b 2HBw== X-Gm-Message-State: ALyK8tLTZoTQJEMwVzk0b3hzUtAgu46hzoXzm/TuIRTn6xDSxY1yH3AzQivMCcUgeqRqQWEy X-Received: by 10.28.54.147 with SMTP id y19mr5945114wmh.68.1466774356806; Fri, 24 Jun 2016 06:19:16 -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 m125sm1279533wmm.8.2016.06.24.06.19.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 06:19:16 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Bruce Richardson , Ferruh Yigit , Adrien Mazarguil Date: Fri, 24 Jun 2016 15:17:58 +0200 Message-Id: <1466774284-20932-20-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466774284-20932-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1466758261-25986-1-git-send-email-nelio.laranjeiro@6wind.com> <1466774284-20932-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH v7 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 13:19:17 -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