Sean Hefty wrote:
The implementation is complete. The interface to the cache operates synchronously. If an item is found in the cache, it is returned. If no item is found, an error is returned. The caller can query the SA directly in this case. (If we wanted to be fancy, the results of that query could be copied into the cache, but the cache will update on its own.)
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?
Or. _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
