[openib-general] ibv_get_device_list() question

Robert Walsh rjwalsh at pathscale.com
Tue Jan 2 15:57:55 PST 2007


Jeff Squyres wrote:
> We're debating internally in the OMPI group about providing access to  
> specific NICs/HCAs, especially on NUMA machines where different NICs/ 
> HCAs are local to different busses / processors.  So I have the  
> following questions:
> 
> 1. Does the ibv API provide any information about devices' physical  
> location with regards to busses / processors?  (I doubt it, but I'm  
> just asking to be sure)

Don't know whether you can get this directly, but you can get it 
indirectly by looking in /sys/class/infiniband/<device_name>/device. 
bus points at the bus.  local_cpus contains the nearby cpu mask.  This 
what you're looking for?




More information about the general mailing list