Quoting r. Hal Rosenstock <[EMAIL PROTECTED]>: > Subject: Re: What is the correct method of determining?the?number of ports > > On Mon, 2005-06-06 at 01:07, Shirley Ma wrote: > > I was thinking to use ibv_get_devices() to get the list of device > > names, then use umad_get_ca() to get ca info. (it actually gets the > > info from directory /sys/class/infiniband.) Which might not what you > > want. > > umad was done long before uverbs was available and using > /sys/class/infiniband was the only way to obtain the needed information > in userspace. If the community thinks uverbs should be used to obtain > this information, this can be converted over. Patches accepted :-) > > -- Hal
Off the top of my head, the right approach seems to be to use /dev/infiniband/umad%d for umad. Right? -- MST _______________________________________________ openib-general mailing list openib-general@openib.org http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general