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: Jeffrey Squyres (jsquyres_at_[hidden])
Date: 2012-03-20 10:53:42

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.

> Otherwise, I don't see any way to link IB ports with net interfaces in
> sysfs:
> * My /sys/class/infiniband/mlx4_0 contains a "ports" directory with "1"
> and "2" in there, but I can't find anything related to my "ib0" and
> "ib1" interface in there.
> * /sys/class/net/ib0 doesn't seem to contain anything about IB ports either.


So much for that OMPI feature, then... (per user request, I was going to allow mca_btl_openif_if_include/exclude to be specified by ethernet devices, not verbs devices)

Jeff Squyres
For corporate legal information go to: