[openib-general] OpenSM/osm_ucast_mgr.c: In osm_ucast_mgr_set_fwd_table, always reset port state change when set
Eitan Zahavi
eitan at mellanox.co.il
Thu Dec 21 11:10:32 PST 2006
Good catch.
Hal Rosenstock wrote:
> OpenSM/osm_ucast_mgr.c: In osm_ucast_mgr_set_fwd_table, always reset
> port state change when set
>
> Signed-off-by: Hal Rosenstock <halr at voltaire.com>
>
> diff --git a/osm/opensm/osm_ucast_mgr.c b/osm/opensm/osm_ucast_mgr.c
> index f663d2d..f546c5f 100644
> --- a/osm/opensm/osm_ucast_mgr.c
> +++ b/osm/opensm/osm_ucast_mgr.c
> @@ -922,7 +922,7 @@ osm_ucast_mgr_set_fwd_table(
> else
> life_state = (p_mgr->p_subn->opt.packet_life_time <<3 ) & 0xf8;
>
> - if (life_state != si.life_state)
> + if ( (life_state != si.life_state) || ib_switch_info_get_state_change( &si ) )
> {
> set_swinfo_require = TRUE;
> si.life_state = life_state;
>
>
>
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list