two Qs refers to openib kernel stack found in Redhat distribution (RHEL4 update
3)
(redhat kernel version: 2.4.18-14 #1):
1. if ib_poll_cq(cq, 1, &wc) returns zero, does wc contain a valid entry?
[just for reference what happend in gen1 stack
following code is from gen1 code where if similar routine returned zero
send_entry was still valid...
if ( target->state == TARGET_ACTIVE_CONNECTION ) {
status = ib_cq_poll( target->active_conn->cqs_hndl, &send_entry
);
if ( status == 0 ) {
cq_send_handler( NULL, &send_entry, target );
}
}
]
2. why is the io completion routine called when ib_poll_cq() returns zero? is
there some error happening here?
thanks, som.
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general