Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h139 u32 next2fill; member
149 ring->next2fill++; in vmxnet3_cmd_ring_adv_next2fill()
150 if (unlikely(ring->next2fill == ring->size)) { in vmxnet3_cmd_ring_adv_next2fill()
151 ring->next2fill = 0; in vmxnet3_cmd_ring_adv_next2fill()
165 return (ring->next2comp > ring->next2fill ? 0 : ring->size) + in vmxnet3_cmd_ring_desc_avail()
166 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.c625 rbi = rbi_base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf()
626 gd = ring->base + ring->next2fill; in vmxnet3_rq_alloc_rx_buf()
755 tq->tx_ring.next2fill * in vmxnet3_map_pkt()
760 tbi = tq->buf_info + tq->tx_ring.next2fill; in vmxnet3_map_pkt()
765 tq->tx_ring.next2fill, in vmxnet3_map_pkt()
1008 tq->tx_ring.next2fill * in vmxnet3_copy_hdr()
1014 ctx->copy_size, tq->tx_ring.next2fill); in vmxnet3_copy_hdr()
1290 tq->tx_ring.next2fill); in vmxnet3_tq_xmit()
1850 idx - ring->next2fill - 1; in vmxnet3_rq_rx_complete()
1895 ring->next2fill); in vmxnet3_rq_rx_complete()
[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()