/* This will advance the pointer to the data portion of the control message of the work request's buffer that was populated after the work request finished.  */
static void qemu_rdma_move_header(RDMAContext *rdma, int idx, RDMAControlHeader *head)
/* This will advance the pointer to the data portion of the control message of the work request's buffer that was populated after the work request finished.  */
static void qemu_rdma_move_header(RDMAContext *rdma, int idx, RDMAControlHeader *head)
{
    rdma->wr_data[idx].control_len = head->len;
    rdma->wr_data[idx].control_curr =
        rdma->wr_data[idx].control + sizeof(RDMAControlHeader);
}