[openib-general] [PATCH] RFC libibverbs - Pass provider data through ibv_cmd_req_notify_cq()

Tom Tucker tom at opengridcomputing.com
Mon Nov 20 12:08:25 PST 2006


On Mon, 2006-11-20 at 02:48 -0800, Roland Dreier wrote:
>  > I'm testing now, but crashing in ibv_open_device because it branched to
>  > 0 due to the NULL amso lib alloc_context.  This all worked before, so
>  > something changed maybe.  I recompiled everything but that didn't help.
>  > Dunno what's up exactly.  I'll probably not continue debug on this until
>  > the middle of next week due to priorities.  But I'll email back once I
>  > learn more...
> 
> I haven't tried the amso userspace support yet, but how did this ever
> work?  As far as I can remember, libibverbs has _always_ called
> alloc_context without testing for NULL, and it assumes that's how
> contexts get allocated.

Yeah, I don't think it's "supposed" to be zero... It's statically initialized 
in amso.c 
...
static struct ibv_device_ops amso_dev_ops = {
	.alloc_context = amso_alloc_context,
	.free_context = amso_free_context
};
... 

Maybe memory stompage?...Steve gets back tonight, he'll take a 
look tomorrow.


> 
>  - R.
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general





More information about the general mailing list