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 15:12:38


On Mar 20, 2012, at 3:09 PM, Brice Goglin wrote:

> Looks like we just need to read /sys/class/net/ib*/dev_id, make that
> decimal, add one, and we get the port number.
>
> How would you like this to appear in the topology? Is a object info such
> as "Port=%d" in each network interface in a OFED object ok?

You mean attached to the "ib0" (etc.) PCI devices? If so, I think that would be fine.

Are the other info keys capitalized?

Will you display this info in lstopo output?

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