[openib-general] Re: [PATCH] opensm: observe PartitionEnforcementCap of zero

Rolf Manderscheid rvm at obsidianresearch.com
Thu Mar 30 10:04:53 PST 2006


Hi Hal,
> I presume this is with the trunk version, right ?
Right.
>
> This appears like it would get past the ERR 4108 but wouldn't OpenSM
> then insert the block several lines down in
> osm_port.c::osm_physp_set_pkey_tbl where it calls osm_pkey_tbl_set ?
>   
The error is reported upon receipt of the SubnSet(PKeyTable) response.  
The problem
is that opensm is sending that set in the first place.  The patch to 
shorten the initial vector length
prevents opensm from doing the set inappropriately so we won't actually 
get to the
osm_pkey_rcv_process that calls osm_physp_set_pkey_tbl (which reports 
error 4108 and
calls osm_pkey_tbl_set).

> Also, is PortInfo:PartitionEnforcementInbound/Outbound set properly (0)
> for these ports which don't support partition enforcement ? (That might
> be another issue).
>   
Yes, those components are set to zero.  Actually, it looks like they're 
unconditionally set to zero.

    Rolf




More information about the general mailing list