[ofa-general] Re: [PATCH 0/6 v2] opensm: Unicast Routing Cache

Sasha Khapyorsky sashak at voltaire.com
Sat Oct 18 02:22:17 PDT 2008


Hi Yevgeny,

On 23:29 Wed 15 Oct     , Yevgeny Kliteynik wrote:
>
> I'm sending v2 of the patches:

All applied. Thanks.

> The job that still needs to be done:
>  - Check how the cache handles port moving during discovery.
>    Might be a bug there.
>  - Check how unicast manager handles fast reset of switches.
>    AFAIK SM will now write the LFT there - need to fix it
>    (unrelated to cache, general ucast mgr issue)

Seeing again at this I think that it handles this properly. This is
the code in osm_ucast_mgr_set_fwd_table():

	if (!p_sw->need_update &&
	    !memcmp(block, p_sw->lft_buf + block_id_ho * 64, 64))
		continue;

>  - Optimize LFT usage - simplify current switch LFT,
>    hold two LFTs (current and cached) only when these LFTs
>    are not identical.

This would be a nice improvement.

Sasha



More information about the general mailing list