Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c104 if (rx->q_resources) in gve_rx_reset_ring_dqo()
105 memset(rx->q_resources, 0, sizeof(*rx->q_resources)); in gve_rx_reset_ring_dqo()
153 if (rx->q_resources) { in gve_rx_free_ring_dqo()
154 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_free_ring_dqo()
155 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_dqo()
156 rx->q_resources = NULL; in gve_rx_free_ring_dqo()
306 rx->q_resources = dma_alloc_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring_dqo()
308 if (!rx->q_resources) in gve_rx_alloc_ring_dqo()
324 u64 index = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell_dqo()
H A Dgve_tx_dqo.c120 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_xdp_tx_flush_dqo()
235 if (tx->q_resources) { in gve_tx_free_ring_dqo()
236 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_dqo()
237 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo()
238 tx->q_resources = NULL; in gve_tx_free_ring_dqo()
387 tx->q_resources = dma_alloc_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_alloc_ring_dqo()
389 if (!tx->q_resources) in gve_tx_alloc_ring_dqo()
1073 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
1080 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
1127 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_xsk_tx_dqo()
[all …]
H A Dgve.h336 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
644 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member