From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by dpdk.org (Postfix) with ESMTP id D6E7795D3 for ; Tue, 21 Jun 2016 09:24:18 +0200 (CEST) Received: by mail-lf0-f49.google.com with SMTP id f6so9716947lfg.0 for ; Tue, 21 Jun 2016 00:24:18 -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=nZAooe0SLkO84djUL+hBd4mbjN6Dn5IGTE6+CeTIZFgi9StzEizWMy+OD9j8XDNwLX LHJslO5Sp3jdJVoSURODXvbD/Jy5Yj6Jr2sWrZSGYvQZEfo9bILxFD6nElUzSVuPxZHh AgDQM10i7acccGLGlnM0wIe+yaXuTRrjtoyE4iER/L8quFO96x7WYjBz+vO9kAHP8T1t Dlx2/FOI2zzi57cGZtCEu9VUJOQ9GAq4SxeDKH7OhxF95s933Wrz3Rc5WkQ4Ot0d7DzK aiEvyv4GSq6TjIsWwFNIOQ74ZbHyAtR/bLClaYQ2H2ZtQis2YA0iWVtbB2iR02FsLHs5 z6mw== 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=MOOle+RXAb7W5Wh9wRtjBep1RnQcwf8rXWHQ+SaiAdq7scEGz51ZnFqxLelrIt8fNW WDzb4XxhvEdNCIPbegDYsbCladotNN2iSqHPEIPwZyn9UFqetIfOsbtIk6xOrvBoFivc nHHtcYMD1pbTSrUcA4STs6/lWuOXlbWK+30zmbimUqbqKSgrlvDtxhxxj3M2hpKDzGxG PtPo23FjoHQWe86lczv0q8TG7Z2xsqklPoAmNMrUfOuMken/NcSnm1e8+rT7duWUtD7Q 4V9/lu+xPRQw3Uv11REdVFSA6Rt0jLFR2dJ3qkgGEEZvoDoawFaAwlC9FtBS8E4iy+S8 WfGw== X-Gm-Message-State: ALyK8tL6repPM0EujIyjP8PL123E1ykMrJa1p4l/5exxdmxuEn2/g+w5hShrtcDhK8G3DWQ0 X-Received: by 10.25.28.21 with SMTP id c21mr4477521lfc.68.1466493858446; Tue, 21 Jun 2016 00:24:18 -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 mh10sm6527314lbb.14.2016.06.21.00.24.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Jun 2016 00:24:18 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Ferruh Yigit , Adrien Mazarguil Date: Tue, 21 Jun 2016 09:23:32 +0200 Message-Id: <1466493818-1877-20-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466493818-1877-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1465379291-25310-1-git-send-email-nelio.laranjeiro@6wind.com> <1466493818-1877-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 v3 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: Tue, 21 Jun 2016 07:24:19 -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