[ofa-general] [PATCH] OpenSM/osm_port_info_rcv.c: In __osm_pi_rcv_process_endport, isSMdisabled also indicates that an SM is present so poll SMInfo
Hal Rosenstock
halr at voltaire.com
Wed Apr 4 09:32:08 PDT 2007
OpenSM/osm_port_info_rcv.c: In __osm_pi_rcv_process_endport,
isSMdisabled also indicates that an SM is present so poll SMInfo
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
diff --git a/osm/opensm/osm_port_info_rcv.c b/osm/opensm/osm_port_info_rcv.c
index 4a14ee0..1d5bac1 100644
--- a/osm/opensm/osm_port_info_rcv.c
+++ b/osm/opensm/osm_port_info_rcv.c
@@ -189,7 +189,8 @@ __osm_pi_rcv_process_endport(
p_sm->smi.pri_state = 0xF0 & p_sm->smi.pri_state;
}
- if( p_pi->capability_mask & IB_PORT_CAP_IS_SM )
+ if( p_pi->capability_mask & IB_PORT_CAP_IS_SM ||
+ p_pi->capability_mask & IB_PORT_CAP_SM_DISAB )
{
if( p_rcv->p_subn->opt.ignore_other_sm )
{
More information about the general
mailing list