queue_addr_from_index
memcpy(queue_addr_from_index(new_q, new_prod),
queue_addr_from_index(q, cons), new_q->elem_size);
wqe = queue_addr_from_index(q, cons);
return queue_addr_from_index(q, index);
wqe = queue_addr_from_index(qp->sq.queue, wqe_index);