Hi Eitan,

On Wed, 2005-01-19 at 16:01, Eitan Zahavi wrote:
> 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. 

By pruning (in this context), do you mean that the SA reports all paths
regardless of SL and PKey (even when these components are qualifiers) ?

> 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?

I was reading through the code but could easily come up with test
case(s).

-- Hal

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to