Home
last modified time | relevance | path

Searched refs:next2comp (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h142 u32 next2comp; member
161 VMXNET3_INC_RING_IDX_ONLY(ring->next2comp, ring->size); in vmxnet3_cmd_ring_adv_next2comp()
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_drv.c393 BUG_ON(tq->buf_info[eop_idx].sop_idx != tq->tx_ring.next2comp); in vmxnet3_unmap_pkt()
401 while (tq->tx_ring.next2comp != eop_idx) { in vmxnet3_unmap_pkt()
402 vmxnet3_unmap_tx_buf(tq->buf_info + tq->tx_ring.next2comp, in vmxnet3_unmap_pkt()
479 while (tq->tx_ring.next2comp != tq->tx_ring.next2fill) { in vmxnet3_tq_cleanup()
482 tbi = tq->buf_info + tq->tx_ring.next2comp; 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()
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()
1235 tq->tx_ring.next2comp, tq->tx_ring.next2fill); in vmxnet3_tq_xmit()
[all …]
H A Dvmxnet3_ethtool.c559 buf[j++] = tq->tx_ring.next2comp; in vmxnet3_get_regs()
589 buf[j++] = rq->rx_ring[0].next2comp; in vmxnet3_get_regs()
596 buf[j++] = rq->rx_ring[1].next2comp; in vmxnet3_get_regs()