shadow_queue_get_next_to_complete
shadow_wqe = shadow_queue_get_next_to_complete(&qp->shadow_sq);
shadow_wqe = shadow_queue_get_next_to_complete(&qp->shadow_rq);
while ((shadow_wqe = shadow_queue_get_next_to_complete(&qp->shadow_sq))