From patchwork Wed Nov 7 14:22:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Honggang LI X-Patchwork-Id: 10672445 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 B0B5314D6 for ; Wed, 7 Nov 2018 14:23:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A0E0B2C137 for ; Wed, 7 Nov 2018 14:23:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9BE3C2C141; Wed, 7 Nov 2018 14:23:23 +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 4AEBE2C14D for ; Wed, 7 Nov 2018 14:23:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727567AbeKGXx5 (ORCPT ); Wed, 7 Nov 2018 18:53:57 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35536 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbeKGXx5 (ORCPT ); Wed, 7 Nov 2018 18:53:57 -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 60BA2394D2D; Wed, 7 Nov 2018 14:23:22 +0000 (UTC) Received: from lhg.nay.redhat.com (unknown [10.66.129.124]) by smtp.corp.redhat.com (Postfix) with ESMTP id F0B3060477; Wed, 7 Nov 2018 14:23:20 +0000 (UTC) From: Honggang LI To: hal@dev.mellanox.co.il Cc: linux-rdma@vger.kernel.org, Honggang Li Subject: [opensm patch 6/6] opensm/osm_multicast.h: Improve comments Date: Wed, 7 Nov 2018 22:22:46 +0800 Message-Id: <20181107142246.28336-6-honli@redhat.com> In-Reply-To: <20181107142246.28336-5-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> <20181107142246.28336-5-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.38]); Wed, 07 Nov 2018 14:23:22 +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_multicast.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/include/opensm/osm_multicast.h b/include/opensm/osm_multicast.h index 3237c87c..380f3063 100644 --- a/include/opensm/osm_multicast.h +++ b/include/opensm/osm_multicast.h @@ -135,6 +135,9 @@ typedef struct osm_mgrp { * is created during the initialization of SM/SA and will be * present even if there are no ports for this group * +* full_members +* Number of full members in the Multicast Group. +* * SEE ALSO *********/ @@ -338,6 +341,12 @@ osm_mcm_port_t *osm_mgrp_add_port(osm_subn_t *subn, osm_log_t *log, IN ib_member_rec_t *mcmr, IN boolean_t proxy); /* * PARAMETERS +* subn +* [in] Pointer to the subnet object +* +* log +* [in] The log object pointer +* * mgrp * [in] Pointer to an osm_mgrp_t object to initialize. * @@ -426,7 +435,6 @@ void osm_mgrp_delete_port(IN osm_subn_t * subn, IN osm_log_t * log, IN osm_mgrp_t * mgrp, IN osm_port_t * port); /* * PARAMETERS -* * subn * [in] Pointer to the subnet object *