Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/google/gve/
H A Dgve_tx.c17 struct gve_queue_resources *q_resources, in gve_tx_put_doorbell() argument
28 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_xdp_tx_flush()
227 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_gqi()
228 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_gqi()
229 tx->q_resources = NULL; in gve_tx_free_ring_gqi()
306 tx->q_resources = in gve_tx_alloc_ring_gqi()
308 sizeof(*tx->q_resources), in gve_tx_alloc_ring_gqi()
311 if (!tx->q_resources) in gve_tx_alloc_ring_gqi()
752 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
775 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
[all …]
H A Dgve_rx.c84 if (rx->q_resources) in gve_rx_reset_ring_gqi()
85 memset(rx->q_resources, 0, sizeof(*rx->q_resources)); in gve_rx_reset_ring_gqi()
117 if (rx->q_resources) { in gve_rx_free_ring_gqi()
118 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring_gqi()
119 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_gqi()
120 rx->q_resources = NULL; in gve_rx_free_ring_gqi()
337 rx->q_resources = in gve_rx_alloc_ring_gqi()
339 sizeof(*rx->q_resources), in gve_rx_alloc_ring_gqi()
342 if (!rx->q_resources) { in gve_rx_alloc_ring_gqi()
366 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring_gqi()
[all …]
H A Dgve_rx_dqo.c90 if (rx->q_resources) in gve_rx_reset_ring_dqo()
91 memset(rx->q_resources, 0, sizeof(*rx->q_resources)); in gve_rx_reset_ring_dqo()
138 if (rx->q_resources) { in gve_rx_free_ring_dqo()
139 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_free_ring_dqo()
140 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_dqo()
141 rx->q_resources = NULL; in gve_rx_free_ring_dqo()
282 rx->q_resources = dma_alloc_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring_dqo()
284 if (!rx->q_resources) in gve_rx_alloc_ring_dqo()
300 u64 index = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell_dqo()
H A Dgve_dqo.h66 const struct gve_queue_resources *q_resources, u32 val) in gve_tx_put_doorbell_dqo() argument
70 index = be32_to_cpu(q_resources->db_index); in gve_tx_put_doorbell_dqo()
H A Dgve_tx_dqo.c214 if (tx->q_resources) { in gve_tx_free_ring_dqo()
215 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_dqo()
216 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo()
217 tx->q_resources = NULL; in gve_tx_free_ring_dqo()
353 tx->q_resources = dma_alloc_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_alloc_ring_dqo()
355 if (!tx->q_resources) in gve_tx_alloc_ring_dqo()
981 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
988 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
H A Dgve.h324 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
605 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member