[openib-general] Question On mad.c
devesh28 at gmail.com
Fri Jan 20 07:41:16 PST 2006
In mad.c while calling ib_post_receive() operation
post = (++recv_queue->count < recv_queue->max_active);
ret = ib_post_recv(qp_info->qp, &recv_wr, &bad_recv_wr);
This is in while loop till "post" variable remains true, value of
max_active is 512 So loop will go 512 times.
If the qp on which this posting is going on dose not supports 512
recevie descriptors posting then what will happen?
Although during qp creation max_recv supported will be returned but
loop is independent of this.
Is it the requirement that for QP0 and QP1 this is (512) the at least
supported receive descriptors?
please any body clerify my confusion.
More information about the general