[ofa-general] RE: SRP Target Port

Hal Rosenstock hrosenstock at xsigo.com
Mon Dec 3 11:27:50 PST 2007


On Mon, 2007-12-03 at 11:21 -0800, Sufficool, Stanley wrote:
> I have specified the initiator and target GUID in the group membership
> as to isolate initiators to specific target ports and I get no
> connections. However when  I leave this as Default group and check the
> initiator port using OSMTEST for WinIB, I get a port is is 1 higher
> than that reported by /proc/scst_tgt/sessions:
>  
> WinIB osmtest:
>         1: GUID = 0x1708ffffd0dd61, lid = 0x0008, state = ACTIVE
>         2: GUID = 0x1708ffffd0dd62, lid = 0x0011, state = ACTIVE
>  
> SCST Session:
> Target name          Initiator name                      Group name
> Command Count
> ib_srpt              0x001a4bffff0cd045001708ffffd0dd60  Default
> 0

It's likely the difference between node and port GUID that you are
seeing.

> Is it safe to assume the session (SCST Group USER) will always be one
> less than the initiator port id?

It is a common convention but not all vendors use it and it is _not_
guaranteed to work per IBA.

-- Hal

>  The OFED target code seems to be current (git reports no updates). 
>  
>  
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list