From patchwork Wed May 10 16:24:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yishai Hadas X-Patchwork-Id: 9720235 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 437516035D for ; Wed, 10 May 2017 16:24:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3599920121 for ; Wed, 10 May 2017 16:24:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A10B2860C; Wed, 10 May 2017 16:24:54 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A622F20121 for ; Wed, 10 May 2017 16:24:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753407AbdEJQYw (ORCPT ); Wed, 10 May 2017 12:24:52 -0400 Received: from mail-il-dmz.mellanox.com ([193.47.165.129]:51627 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752923AbdEJQYw (ORCPT ); Wed, 10 May 2017 12:24:52 -0400 Received: from Internal Mail-Server by MTLPINE1 (envelope-from yishaih@mellanox.com) with ESMTPS (AES256-SHA encrypted); 10 May 2017 19:24:44 +0300 Received: from vnc17.mtl.labs.mlnx (vnc17.mtl.labs.mlnx [10.7.2.17]) by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v4AGOi0q010600; Wed, 10 May 2017 19:24:44 +0300 Received: from vnc17.mtl.labs.mlnx (vnc17.mtl.labs.mlnx [127.0.0.1]) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8) with ESMTP id v4AGOi7T001972; Wed, 10 May 2017 19:24:44 +0300 Received: (from yishaih@localhost) by vnc17.mtl.labs.mlnx (8.13.8/8.13.8/Submit) id v4AGOi8u001971; Wed, 10 May 2017 19:24:44 +0300 From: Yishai Hadas To: dledford@redhat.com Cc: linux-rdma@vger.kernel.org, yishaih@mellanox.com, parav@mellanox.com, majd@mellanox.com Subject: [PATCH rdma-core] verbs: Corrected description of max_sge and max_sge_rd Date: Wed, 10 May 2017 19:24:25 +0300 Message-Id: <1494433465-1883-1-git-send-email-yishaih@mellanox.com> X-Mailer: git-send-email 1.8.2.3 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Parav Pandit This patch corrects ambiguity in documentation of max_sge and max_sge_rd fields. This ambiguity seems to be created due to [1] and due to mention of "RD and non RD QPs" in man page. Here RD can be understood as reliable datagram QP of Infiniband specification as opposed to "read". max_sge_rd: Maximum number of sges per WR for RDMA Read operations. max_sge: Maximum number of sges per WR for QP for non RDMA Read operations. [1] http://www.rdmamojo.com/2012/07/13/ibv_query_device/ Signed-off-by: Parav Pandit Reviewed-by: Yishai Hadas Reviewed-by: Yuval Shaia --- Pull request was sent: https://github.com/linux-rdma/rdma-core/pull/131 libibverbs/man/ibv_query_device.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libibverbs/man/ibv_query_device.3 b/libibverbs/man/ibv_query_device.3 index 35daa53..0e9d286 100644 --- a/libibverbs/man/ibv_query_device.3 +++ b/libibverbs/man/ibv_query_device.3 @@ -33,8 +33,8 @@ uint32_t hw_ver; /* Hardware version */ int max_qp; /* Maximum number of supported QPs */ int max_qp_wr; /* Maximum number of outstanding WR on any work queue */ int device_cap_flags; /* HCA capabilities mask */ -int max_sge; /* Maximum number of s/g per WR for non-RD QPs */ -int max_sge_rd; /* Maximum number of s/g per WR for RD QPs */ +int max_sge; /* Maximum number of s/g per WR for SQ & RQ of QP for non RDMA Read operations */ +int max_sge_rd; /* Maximum number of s/g per WR for RDMA Read operations */ int max_cq; /* Maximum number of supported CQs */ int max_cqe; /* Maximum number of CQE capacity per CQ */ int max_mr; /* Maximum number of supported MRs */