[openib-general] Re: [PATCH][UVERBS][RFC] node type in ibv_context

Tom Tucker tom at opengridcomputing.com
Wed May 10 18:08:15 PDT 2006


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.




More information about the general mailing list