[openib-general] RE: OpenSM: Some more osm_sa_path_record.c questions

Eitan Zahavi eitan at mellanox.co.il
Wed Jan 19 13:01:40 PST 2005


Hi Hal

You had 2 questions:
1. Why are non default PKey and SL invalid when they are requested in
the component mask of the SA request for PathRecord ? 
[EZ] The reason for that is that OpenSM does not support pruning of paths
based on the PKeys or SL fields. So if a query requiring the paths to follow
a specific SL or PKey is received - an empty response is provided. 
As always a patch fixing this will be appreciated.

2. Are component masks SGID and SLID, and DGID and DLID mutually
exclusive ?

[EZ] The code you quote is only use for limiting the "world" by the given
DGID/DLID or SGID/SLID. Based on the limit found (either a "pair", "half
world" or "full world") the search is done in a more efficient manner. After
limiting the search to a smaller set than all ports to all other ports, the
paths are filtered by the provided comp_mask. So in your case where both
SGID and SLID masks are given - later the paths will be filtered. 
Were you able to exercise this bug? Or are you only reading through?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20050119/14701a28/attachment.html>


More information about the general mailing list