GDMA_CQE_OWNER_MASK
old_bits = (cq->head / num_cqe - 1) & GDMA_CQE_OWNER_MASK;
new_bits = (cq->head / num_cqe) & GDMA_CQE_OWNER_MASK;