opensm/osm_sa_mcmember_record.c: Commentary changes relating to SA assigned MGIDs
PATCH 1/1 opensm/osm_sa_mcmember_record.c: Commentary changes relating to SA assigned MGIDs
Update one comment to be more accurate
and remove comment which appears to no longer apply
--- opensm/osm_sa_mcmember_record.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
opensm/osm_sa_mcmember_record.c +1 -2
@@ -615,7 +615,7 @@ static ib_api_status_t validate_requested_mgid(IN osm_sa_t * sa,/* * For SA assigned MGIDs (signature 0xA01B): -* There is no real way to make sure the Unique MGID Prefix is really unique. +* There is no real way to make sure the GID Prefix is really unique. * If we could enforce using the Subnet Prefix for that purpose it would * have been nice. But the spec does not require it. */
@@ -776,7 +776,6 @@ static unsigned build_new_mgid(osm_sa_t * sa, ib_net64_t comp_mask, mgid->raw[2 ] =0xa0 ; mgid->raw[3 ] =0x1b ; -/* HACK: use the SA port gid to make it globally unique */ memcpy (&mgid->raw[4 ], &sa->p_subn->opt.subnet_prefix,sizeof (uint64_t ));for (i =0 ; i <1000 ; i++) {
Signature · 6 lines
1.7.6.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Hal,
Quoted 6 lines · Hal Rosenstock
Update one comment to be more accurate
and remove comment which appears to no longer apply---
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Hal,
Quoted 6 lines · Hal Rosenstock
Update one comment to be more accurate
and remove comment which appears to no longer apply---
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html