vmxnet3_read_next_rx_descr(VMXNET3State *s, int qidx, int ridx,

                           struct Vmxnet3_RxDesc *dbuf, uint32_t *didx)

{

    Vmxnet3Ring *ring = &s->rxq_descr[qidx].rx_ring[ridx];

    *didx = vmxnet3_ring_curr_cell_idx(ring);

    vmxnet3_ring_read_curr_cell(ring, dbuf);

}

vmxnet3_read_next_rx_descr(VMXNET3State *s, int qidx, int ridx,

                           struct Vmxnet3_RxDesc *dbuf, uint32_t *didx)

{

    Vmxnet3Ring *ring = &s->rxq_descr[qidx].rx_ring[ridx];

    *didx = vmxnet3_ring_curr_cell_idx(ring);

    vmxnet3_ring_read_curr_cell(ring, dbuf);

}

    vmxnet3_ring_read_curr_cell(ring, dbuf);
FUNC_0(VMXNET3State *VAR_0, int VAR_1, int VAR_2,

                           struct Vmxnet3_RxDesc *VAR_3, uint32_t *VAR_4)

{

    Vmxnet3Ring *ring = &VAR_0->rxq_descr[VAR_1].rx_ring[VAR_2];

    *VAR_4 = vmxnet3_ring_curr_cell_idx(ring);

    vmxnet3_ring_read_curr_cell(ring, VAR_3);

}

FUNC_0(VMXNET3State *VAR_0, int VAR_1, int VAR_2,
struct Vmxnet3_RxDesc *VAR_3, uint32_t *VAR_4)
{ Vmxnet3Ring *ring = &VAR_0->rxq_descr[VAR_1].rx_ring[VAR_2]; *VAR_4 = vmxnet3_ring_curr_cell_idx(ring); vmxnet3_ring_read_curr_cell(ring, VAR_3); }