On Wed, Oct 19, 2011 at 9:47 PM, Jason Gunthorpe
<[email protected]> wrote:
> On Wed, Oct 19, 2011 at 12:09:01PM -0700, Nicholas A. Bellinger wrote:
>
> > Are sport->gid.global.interface_id going to be different for each struct
> > srpt_port..?
>
> Infiniband GID suffixes (interface_id) are not guaranteed to be
> unique. The GID is expected to be unique, the portGUID (which is
> sometimes the same as the interface_id) is also expected to be unique.

... in general. But according to the InfiniBand Architecture Manual
the suffix of GID 0 is always identical to the port GUID. A quote from
paragraph 4.1.1:

1) Each endport shall be assigned at least one unicast GID. The first
unicast GID assigned shall be created using the manufacturer assigned
EUI-64 identifier. This GID is referred to as GID index 0 and is
formed by techniques 3(a) or 3(b) described below.

3) A unicast GID shall be created using one or more of the following
mechanisms:
a) Concatenation of the default GID prefix with the manufacturer assigned
EUI-64 identifier associated with an endport. This GID is
referred to as the default GID.
b) Concatenation of a subnet manager assigned 64-bit GID prefix
and the manufacturer assigned EUI-64 identifier associated with
an endport.

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to