[ofa-general] problems about ibv_req_notify_cq

yangdong yangdong at ncic.ac.cn
Thu Oct 18 08:41:37 PDT 2007


hello:

As usual(i do it in my test proc), after i do rdma_create_id,
rdma_resolve_addr, rdma_resolve_route, i can find
cm_id->verbs->ops.req_notify_cq
and cm_id->verbs->ops.poll_cq is not NULL, so that i can invoke
ibv_req_notify_cq, which actually invokes cm_id->verbs->ops.req_notify_cq.

When i was to setup for a connection, i found that
cm_id->verbs->ops.req_notify_cq and cm_id->verbs->ops.poll_cq is NUL,
the ops are similar to
my test proc, only difference is, test proc is a main func, but in my
instance, i make these openib ops as a my-own lib, i invoke referenced
func to
use these ops. i cannot use ibv_req_notify_cq, as follow

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47563940566528 (LWP 11806)]
0x0000000000000000 in ?? ()
(gdb) backtrace
#0 0x0000000000000000 in ?? ()
#1 0x0000000000416038 in ibv_req_notify_cq (cq=0x795520,
solicited_only=0) at verbs.h:857





More information about the general mailing list