Searched refs:next2fill (Results 1 – 4 of 4) sorted by relevance
141 u32 next2fill; member151 ring->next2fill++; in vmxnet3_cmd_ring_adv_next2fill()152 if (unlikely(ring->next2fill == ring->size)) { in vmxnet3_cmd_ring_adv_next2fill()153 ring->next2fill = 0; in vmxnet3_cmd_ring_adv_next2fill()167 return (ring->next2comp > ring->next2fill ? 0 : ring->size) + in vmxnet3_cmd_ring_desc_avail()168 ring->next2comp - ring->next2fill - 1; in vmxnet3_cmd_ring_desc_avail()
129 ctx.sop_txd = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()133 tbi = tq->buf_info + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()159 gdesc = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_xdp_xmit_frame()194 tq->tx_ring.next2fill); in vmxnet3_xdp_xmit_frame()
479 while (tq->tx_ring.next2comp != tq->tx_ring.next2fill) { in vmxnet3_tq_cleanup()504 tq->tx_ring.next2fill = tq->tx_ring.next2comp = 0; in vmxnet3_tq_cleanup()564 tq->tx_ring.next2fill = tq->tx_ring.next2comp = 0; in vmxnet3_tq_init()673 rbi = rbi_base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf()674 gd = ring->base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf()757 num_allocated, ring->next2fill, ring->next2comp); in vmxnet3_rq_alloc_rx_buf()760 BUG_ON(num_allocated != 0 && ring->next2fill == ring->next2comp); in vmxnet3_rq_alloc_rx_buf()797 ctx->sop_txd = tq->tx_ring.base + tq->tx_ring.next2fill; in vmxnet3_map_pkt()803 tq->tx_ring.next2fill * in vmxnet3_map_pkt()808 tbi = tq->buf_info + tq->tx_ring.next2fill; in vmxnet3_map_pkt()[all …]
558 buf[j++] = tq->tx_ring.next2fill; in vmxnet3_get_regs()588 buf[j++] = rq->rx_ring[0].next2fill; in vmxnet3_get_regs()595 buf[j++] = rq->rx_ring[1].next2fill; in vmxnet3_get_regs()