Home
last modified time | relevance | path

Searched refs:next2fill (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h141 u32 next2fill; member
151 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()
H A Dvmxnet3_xdp.c129 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()
H A Dvmxnet3_drv.c479 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 …]
H A Dvmxnet3_ethtool.c558 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()