From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by dpdk.org (Postfix) with ESMTP id 8DBC8C13A for ; Wed, 22 Jun 2016 11:06:30 +0200 (CEST) Received: by mail-lb0-f174.google.com with SMTP id o4so18473817lbp.2 for ; Wed, 22 Jun 2016 02:06:30 -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=y69Nw6BCbBkN11U29nceG7wRncZSB07Db3o6QS52tnKGia7+BVq99zeBxMzpbKl6XU ujlWi3Si8mvWddDHwYhdG6Pacfsne9wW6n5bz+jJ0n5H4ztU7LQCCpEWBv71Vn1/PdQI fQ/7Vgqt9mVmqxim6ibvCYnV+UCCfgTVOL8SMEFTYfyY5UJ3uqXFiiA1a2Poa3v5hiJu hZwuTeQFkgZbK6phY6oGMyQXASnFl3dtQR2Qa6eiuzIcHT8sqD/s9ip2ag2SvHVwfZPm whV84j3wRUcDMkaGI4wDPuvDuaHV3he2EePYT/5jV5AK9h6+Da4Vqk+P2VLTKxgyTvg7 4g+g== 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=LnAZsSoe/u3Ct9Qlndz7PWIBID53uDMhCaek1koOIgEmymw5Ye0i7Fsr1caAQB6Eb8 uUJbydqDCWMV4l7TAOWP3WF+OCpx9ulSmWzdlnFTzkSL0LoBbnQmrXVFfcGBRS/lDvwX IUjNCBB393pZWnZV3wlFLuh79C3WsQcyStwcw1fb3xiq19sk3+PjIyHojZmRjWcyPo84 NmiK3RotzCAgwAZi2rNClZSSKemG60z1P+PJMM6s95QwAO24J0AhqYSeb4x7FSw9z/O0 IEU9/rEz2ArjQC9aUVH8jmEJwZ1Zx+LIt7GMTSQTpOdRP9sFVEd/InSjGlNDhquVH4/e gnOw== X-Gm-Message-State: ALyK8tIJPdpxH/S6y+qGndWbn82pp3DTVOcFdvb8+XFsVeRF3h9OQnFa5KQAoFijvXRn8FUn X-Received: by 10.194.133.98 with SMTP id pb2mr23342626wjb.144.1466586390285; Wed, 22 Jun 2016 02:06:30 -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 z5sm7019178wme.5.2016.06.22.02.06.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 22 Jun 2016 02:06:29 -0700 (PDT) From: Nelio Laranjeiro To: dev@dpdk.org Cc: Ferruh Yigit , Adrien Mazarguil Date: Wed, 22 Jun 2016 11:05:49 +0200 Message-Id: <1466586355-30777-20-git-send-email-nelio.laranjeiro@6wind.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1466586355-30777-1-git-send-email-nelio.laranjeiro@6wind.com> References: <1466493818-1877-1-git-send-email-nelio.laranjeiro@6wind.com> <1466586355-30777-1-git-send-email-nelio.laranjeiro@6wind.com> Subject: [dpdk-dev] [PATCH v4 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: Wed, 22 Jun 2016 09:06:30 -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