Le 13/12/2011 16:45, Jeff Squyres a écrit :
> On Dec 13, 2011, at 10:40 AM, Brice Goglin wrote:
>> In most cases, you don't need PCI support for this, you juste manipulate
>> a cuda device, an ibv_device, a MX endpoint, ... and use one of the
>> inline helpers to get the corresponding locality (a cpuset).
> I care mostly about Ethernet devices.
We can get the locality for those by reading
/sys/class/net/<name>/device/local_cpus with name=eth0 and so on. That's
very similar to what we do for OFED. I can add a helper for these
devices as well if needed.
How do you identify these devices in your application ? by interface name ?