On Mon, 2006-05-01 at 22:13 -0700, Roland Dreier wrote: > Tom> Here's a patch that puts a node_type in the ibv_context. > > Two problems: > - It breaks the ABI (which is frozen for the libibverbs 1.0 series) > - Even when we're ready to break ABI, I think node_type should be in > struct ibv_device since it's not per-context at all. >
Yeah, I originally had it there, but I waffled because I was worried (no use case btw) if the type check was every in the performance path that it would involve one extra pointer dereference. > - R. _______________________________________________ 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