From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 113C0AA3C for ; Mon, 20 Jun 2016 18:11:40 +0200 (CEST) Received: by mail-wm0-f44.google.com with SMTP id f126so75816641wma.1 for ; Mon, 20 Jun 2016 09:11:40 -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 :in-reply-to:references; bh=byxM8XyySvw/ZeRHgfrkI0gjJIm6kQugM2O0Q2ZjiuM=; b=fbqTdBr6pcmnGwLmchoiNUCgvFid+JCHr53dXcUJOW3VXEkYytyg8zDQbZccAI62gk CE+uSeXLoFaF07e2ZdPHhwrMsQ+mTE/EqyLWb5p8KK0IbJlx/nty5tKm7ZRs8D/zaL00 ySWj9QKLKQ23Pr3N7HjefnOC6RdAtbO+l47yavvWg4vWU664B8YQsasvrhWvPfrXYB9K obGDj7pvnHbEk8Co+BCITMYEGMZbVP89q6z45T+tc4d7eB8Rc2t7hMMkb696zKB8a9mn 27KZnqCt62GrFEbl5MzBT01udn6VKqhwV/O/kTpnDYspa0KRZBgu3mkbRU8DcioMNLMK jYEQ== 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:in-reply-to:references; bh=byxM8XyySvw/ZeRHgfrkI0gjJIm6kQugM2O0Q2ZjiuM=; b=Ne/YwaywmZsgxnaLnOiwN1Aqcp7Pw8XK5TnhL/Q41pV36I9U252Z11ECLEILdw0StZ 0NwXC0jvYeNWCeqR6bxUINU7kd6I9H3yajdixiUv5MG77rnnE+Ymj+42bscAfckp9Nbq zab6ERmpL278kTgbM4XaDrDFzxwaTkVAEbYpoqvG+Y+koLGHh5WoWn6A8tbS40GP7oK1 IClhWSgmW5U2ic8DBNcCzbEByO1r6n8VsRqlAPeENQ+u544I69XcpLvEgs0kTVO9aM5v IHnSklvbfj9zv/Xx/0wjakvAPt8TeZ6aC95ozf2UE2jaKJWF/X1rsUGnXmX/HAbtQsvm bmvw== X-Gm-Message-State: ALyK8tJkyXayF589ik8HyocUaWU51raxgMBAQ8rClXoPoAw4gKBKXJHslIsG32z88Q9oB/F8 X-Received: by 10.28.21.140 with SMTP id 134mr12444404wmv.50.1466439099857; Mon, 20 Jun 2016 09:11:39 -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 f189sm4543977wmf.19.2016.06.20.09.11.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Jun 2016 09:11:39 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Ferruh Yigit , Adrien Mazarguil Date: Mon, 20 Jun 2016 18:10:31 +0200 Message-Id: <1466439037-14095-20-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466439037-14095-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1465379291-25310-1-git-send-email-nelio.laranjeiro@6wind.com> <1466439037-14095-1-git-send-email-nelio.laranjeiro@6wind.com> 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 v2 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: Mon, 20 Jun 2016 16:11:40 -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