Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Hardware Locality Development mailing list

Subject: Re: [hwloc-devel] PCI device name question
From: Brice Goglin (Brice.Goglin_at_[hidden])
Date: 2012-03-20 11:09:20


Le 20/03/2012 15:53, Jeffrey Squyres a écrit :
> On Mar 20, 2012, at 10:46 AM, Brice Goglin wrote:
>
>>> Is there a way in the hwloc topology data to tell which port eth0 and eth1 correspond to?
>> You should have a "Address" info attribute in each eth object containing
>> something like 80:34:00:48:fe:80:00:00:00:00:00:01:00:02:c9:03:00:0b:53:49
>> Is this useful?
> I looked at that. It's not immediately clear to me how to map that to "ib0" and "ib1", for example.

Also I see that /sys/class/infiniband/mlx4_0/node_guid contains
0002:c903:000b:5348, that's ib0's end-of-address minus one, and ib1's
end-of-address minus two.

But I have no idea what GID, LID and GUID really are so I don't know if
there's anything to do with this. We should ask some IB kernel/hardware
guys in case there is some guarantee about mac address and/or GID/LID
ordering.

Brice