On Wed, Jul 1, 2009 at 3:23 PM, Hal Rosenstock<[email protected]> wrote: > On Wed, Jul 1, 2009 at 4:16 PM, Chris Worley<[email protected]> 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.
I can definitely write scripts to collect the data... I was looking for "C" routines, other than "system" calls to scripts. Thanks, Chris > > -- Hal > >> Thanks, >> >> Chris >> _______________________________________________ >> general mailing list >> [email protected] >> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general >> >> To unsubscribe, please visit >> http://openib.org/mailman/listinfo/openib-general >> > _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
