[ofa-general] [RFC] [PATCH 0/3] 2.6.22 or 23 ib: add path record cache

Sean Hefty mshefty at ichips.intel.com
Fri Apr 20 09:33:54 PDT 2007


> Once SM is up on a node/switch whole network is up. Now is if some
> client is trying to establish a connection with other node, client is
> expected to resolve the path using sa API, I want to know how exactly
> it happens in the stack?

See patch 3/3 for the use of the cache.  In that patch, the rdma_cm first checks 
to see if a suitable path record is available in the cache.  If one is not 
found, it issues a query to the SA.  The stack impact of using the cache is less 
than the impact of sending a path record query to the SA.

> Is it  possible to program local_sa_cache with some dummy path records
> which resides in cache for long time?

This would require changes to the current implementation.

- Sean



More information about the general mailing list