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 14:02:46


On Mar 20, 2012, at 12:02 PM, Brice Goglin wrote:

> Actually, what we don't know is how to map that to port 1/2 (we have
> ib0/ib1 mac addresses, those are = GUID+1/2 on my machine)

Yes, that is more correctly stated.

A Mellanox guy pointed me to the ibdev2netdev script in current OFED distributions -- it looks like they do actually do the mapping based on the GID.

See the attached ibdev2netdev script (which came from OFED 1.5.4).

-- 
Jeff Squyres
jsquyres_at_[hidden]
For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/