From patchwork Wed Nov 7 14:22:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honggang LI X-Patchwork-Id: 10672443 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A8B4514E2 for ; Wed, 7 Nov 2018 14:23:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 992482C149 for ; Wed, 7 Nov 2018 14:23:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 97D442C12E; Wed, 7 Nov 2018 14:23:21 +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=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI 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 516E72C12E for ; Wed, 7 Nov 2018 14:23:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726897AbeKGXxz (ORCPT ); Wed, 7 Nov 2018 18:53:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58190 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbeKGXxz (ORCPT ); Wed, 7 Nov 2018 18:53:55 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7524D308A964; Wed, 7 Nov 2018 14:23:20 +0000 (UTC) Received: from lhg.nay.redhat.com (unknown [10.66.129.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0898660464; Wed, 7 Nov 2018 14:23:18 +0000 (UTC) From: Honggang LI To: hal@dev.mellanox.co.il Cc: linux-rdma@vger.kernel.org, Honggang Li Subject: [opensm patch 5/6] opensm/osm_sa_mad_ctrl.h: Improve comments Date: Wed, 7 Nov 2018 22:22:45 +0800 Message-Id: <20181107142246.28336-5-honli@redhat.com> In-Reply-To: <20181107142246.28336-4-honli@redhat.com> References: <20181107142246.28336-1-honli@redhat.com> <20181107142246.28336-2-honli@redhat.com> <20181107142246.28336-3-honli@redhat.com> <20181107142246.28336-4-honli@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 07 Nov 2018 14:23:20 +0000 (UTC) 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: Honggang Li Signed-off-by: Honggang Li --- include/opensm/osm_sa_mad_ctrl.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/opensm/osm_sa_mad_ctrl.h b/include/opensm/osm_sa_mad_ctrl.h index 2c2513b0..d59fae03 100644 --- a/include/opensm/osm_sa_mad_ctrl.h +++ b/include/opensm/osm_sa_mad_ctrl.h @@ -136,9 +136,11 @@ typedef struct osm_sa_mad_ctrl { * p_stats * Pointer to the OpenSM statistics block. * +* p_subn +* Pointer to the OpenSM Subnet object. +* * SEE ALSO * SA MAD Controller object -* SA MADr object *********/ /****f* OpenSM: SA MAD Controller/osm_sa_mad_ctrl_construct @@ -235,6 +237,9 @@ ib_api_status_t osm_sa_mad_ctrl_init(IN osm_sa_mad_ctrl_t * p_ctrl, * p_vendor * [in] Pointer to the vendor specific interfaces object. * +* p_subn +* [in] Pointer to the OpenSM Subnet object. +* * p_log * [in] Pointer to the log object. *