[openib-general] Re: [PATCH 3/3] librdmacm: add ability to get/set transport specific options

Jack Morgenstein jackm at mellanox.co.il
Wed May 10 09:50:57 PDT 2006


On Wednesday 10 May 2006 19:34, Sean Hefty wrote:
>
> You could also just include the local SA cache.  If you want it enabled by
> default, you can change cache_timeout or paths_per_dest to 0 where they are
> declared.
>

I assume you mean "disabled".

Looks like setting cache_timeout to zero as the default is good enough:
in sa_db_init(), cache_timeout remains 0 when translated to jiffies, resulting 
in paths_per_dest being set to zero as well.

Therefore, in the patch, I can replace line:
    static unsigned long cache_timeout = 15 * 60 * 1000; /* 15 min */
with
    static unsigned long cache_timeout;

Is this correct?

- Jack
    



More information about the general mailing list