Hi Hal, On 19:41 Thu 12 Feb , Hal Rosenstock wrote: > > > > It is already supplied by libibumad - by umad_get_ca() > > (ca.ports[i]->pkeys). I think you just need to copy this to > > ib_port_attr_t structure. > > Yes but rather than using supplied pointers (as inputs for the per > port pkey/guid tables), the other vendor layers require a large enough > buffer for these tables and set the port pointers appropriately (on > output) rather than supplying these pointers as input parameters. So > if we use these as input, then we definitely break the other vendor > layers.
Ok, if you already have an usage example, this is even simpler - just alloc mem and copy pkey table. Sasha _______________________________________________ general mailing list general@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general