]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[OpenSM] - This change fixes the retrieval of the MCMember records according to
authoreitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Apr 2006 08:55:14 +0000 (08:55 +0000)
committereitan <eitan@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 4 Apr 2006 08:55:14 +0000 (08:55 +0000)
commite4fdf69174df1ab0d4760dcb681177b5be1eff44
treee1dc7e3cd4825e2931bc6923cbd6854579343644
parent4084e25466d4797f016efde548aedcf5c5ec00e7
[OpenSM] - This change fixes the retrieval of the MCMember records according to
Errata MGTWG3280.

Quoting from MGTWG3280:

SA can be queried for multicast groups by sending a SubnAdmGet() or a
SubnAdmGetTable() request to it using the SA query mechanism (see
15.4.4 Administration Query Subsystem on page 923).

What SA returns in response to a query of multicast groups depends
strongly on whether the request is or is not a trusted request; the
degree of trust affects both the data returned in each attribute and
the set of attributes that are returned. See <ref to C15-0.2.2>.

o15-0.2.5 is made obsolete.

So we need to implement the following descriptive text:
SA can be queried for multicast groups by sending a SubnAdmGet() or a
SubnAdmGetTable() request to it using the SA query mechanism (see
15.4.4 Administration Query Subsystem on page 923). SA will return one
MCMemberRecord per multicast group matching the query, except in
cases where trust is specified as indicated in 15.4.1.2 Access Restrictions
For Other Attributes on page 922; in that case all the MCMemberRecords
associated with the multicast group are returned. The MCMemberRecord
will be returned with the PortGID, ProxyJoin, and the JoinState components
set to 0, except where trust is specified as indicated above, in that
case the actual contents for the above components will be provided.

Signed-off-by: Ofer Gigi <oferg@mellanox.co.il>
git-svn-id: svn://openib.tc.cornell.edu/gen1@280 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
trunk/ulp/opensm/user/opensm/osm_sa_mcmember_record.c