Home
last modified time | relevance | path

Searched refs:data_ring (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/google/gve/
Dgve_rx.c31 &rx->data.data_ring[i]); in gve_rx_unfill_pages()
62 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_free_ring()
63 dma_free_coherent(dev, bytes, rx->data.data_ring, in gve_rx_free_ring()
65 rx->data.data_ring = NULL; in gve_rx_free_ring()
129 &rx->data.data_ring[i].qpl_offset); in gve_prefill_rx_pages()
133 &rx->data.data_ring[i]); in gve_prefill_rx_pages()
143 &rx->data.data_ring[i]); in gve_prefill_rx_pages()
178 bytes = sizeof(*rx->data.data_ring) * slots; in gve_rx_alloc_ring()
179 rx->data.data_ring = dma_alloc_coherent(hdev, bytes, in gve_rx_alloc_ring()
182 if (!rx->data.data_ring) in gve_rx_alloc_ring()
[all …]
Dgve.h80 union gve_rx_data_slot *data_ring; /* read by NIC */ member
/drivers/net/vmxnet3/
Dvmxnet3_drv.c468 if (tq->data_ring.base) { in vmxnet3_tq_destroy()
470 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_destroy()
471 tq->data_ring.base, tq->data_ring.basePA); in vmxnet3_tq_destroy()
472 tq->data_ring.base = NULL; in vmxnet3_tq_destroy()
508 memset(tq->data_ring.base, 0, in vmxnet3_tq_init()
509 tq->data_ring.size * tq->txdata_desc_size); in vmxnet3_tq_init()
530 BUG_ON(tq->tx_ring.base || tq->data_ring.base || in vmxnet3_tq_create()
541 tq->data_ring.base = dma_alloc_coherent(&adapter->pdev->dev, in vmxnet3_tq_create()
542 tq->data_ring.size * tq->txdata_desc_size, in vmxnet3_tq_create()
543 &tq->data_ring.basePA, GFP_KERNEL); in vmxnet3_tq_create()
[all …]
Dvmxnet3_int.h247 struct vmxnet3_tx_data_ring data_ring; member
301 struct vmxnet3_rx_data_ring data_ring; member
Dvmxnet3_ethtool.c539 buf[j++] = VMXNET3_GET_ADDR_LO(tq->data_ring.basePA); in vmxnet3_get_regs()
540 buf[j++] = VMXNET3_GET_ADDR_HI(tq->data_ring.basePA); in vmxnet3_get_regs()
541 buf[j++] = tq->data_ring.size; in vmxnet3_get_regs()
576 buf[j++] = VMXNET3_GET_ADDR_LO(rq->data_ring.basePA); in vmxnet3_get_regs()
577 buf[j++] = VMXNET3_GET_ADDR_HI(rq->data_ring.basePA); in vmxnet3_get_regs()
579 buf[j++] = rq->data_ring.desc_size; in vmxnet3_get_regs()