Or Gerlitz wrote:
I see. The CMA code (cma_resolve_ib_route) just calls ib_get_path_rec and if the latter fails returns error to its consumer. Two questions come into my mind here: a) is it the final version or you plan to extend the CMA to directly query the SA in that case? b) the code of ib_get_path_rec seems to just search the path in the index and return -ENODATA if nothing is found, does it also trigger an SA lookup for this path?
The CMA will eventually be extended to query the SA directly if the local look-up fails. The intent is to keep these failures hidden from the end-user.
The SA cache does not use a failed lookup as a trigger to update its cache, but that could be added. My initial reaction is that it makes sense to do this.
- Sean _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
