[ofa-general] Library routine for enumerating IB cards and GUIDS

Hal Rosenstock hal.rosenstock at gmail.com
Wed Jul 1 14:23:39 PDT 2009


On Wed, Jul 1, 2009 at 4:16 PM, Chris Worley<worleys at gmail.com> wrote:
> I need a programmatic way to enumerate all IB cards in the system,
> i.e. their port GUIDs.
>
> What library/routines might I use, and which docs should I read
> concerning exposed routines?

Is /sys/class/infiniband/*/ports/*/gids/0 sufficient ? The port GUIDs
are the low 64 bits. That's one way.

-- Hal

> Thanks,
>
> Chris
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>



More information about the general mailing list