[openib-general] .max_recv_wr = 0

Michael S. Tsirkin mst at mellanox.co.il
Mon May 23 09:05:50 PDT 2005


Hi, Roland!
I have a test that sets .max_recv_wr = 0
and crashes in mthca_poll_cq, when a send completion arrives.

Here's a backtrace of a crash:

#0  0x00002aaaab22ad90 in mthca_poll_cq (ibcq=Variable "ibcq" is not available.
) at src/cq.c:317
#1  0x000000000040259d in main (argc=Variable "argc" is not available.) at verbs.h:543
(gdb) frame 0

which is:

 wc->wr_id = (*cur_qp)->wrid[wqe_index + (*cur_qp)->rq.max];

I suspect rq.max isnt initialised to 0.

-- 
MST - Michael S. Tsirkin



More information about the general mailing list