Home
last modified time | relevance | path

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

/openbmc/linux/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()
216 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
217 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring()
218 tx->q_resources = NULL; in gve_tx_free_ring()
273 tx->q_resources = in gve_tx_alloc_ring()
275 sizeof(*tx->q_resources), in gve_tx_alloc_ring()
278 if (!tx->q_resources) in gve_tx_alloc_ring()
699 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
722 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
[all …]
H A Dgve_dqo.h49 const struct gve_queue_resources *q_resources, u32 val) in gve_tx_put_doorbell_dqo() argument
53 index = be32_to_cpu(q_resources->db_index); in gve_tx_put_doorbell_dqo()
H A Dgve_rx.c65 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring()
66 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring()
67 rx->q_resources = NULL; in gve_rx_free_ring()
259 rx->q_resources = in gve_rx_alloc_ring()
261 sizeof(*rx->q_resources), in gve_rx_alloc_ring()
264 if (!rx->q_resources) { in gve_rx_alloc_ring()
299 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring()
300 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring()
301 rx->q_resources = NULL; in gve_rx_alloc_ring()
349 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
H A Dgve_rx_dqo.c216 if (rx->q_resources) { in gve_rx_free_ring_dqo()
217 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_free_ring_dqo()
218 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring_dqo()
219 rx->q_resources = NULL; in gve_rx_free_ring_dqo()
318 rx->q_resources = dma_alloc_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring_dqo()
320 if (!rx->q_resources) in gve_rx_alloc_ring_dqo()
335 u64 index = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell_dqo()
H A Dgve_tx_dqo.c199 if (tx->q_resources) { in gve_tx_free_ring_dqo()
200 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring_dqo()
201 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring_dqo()
202 tx->q_resources = NULL; in gve_tx_free_ring_dqo()
325 tx->q_resources = dma_alloc_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_alloc_ring_dqo()
327 if (!tx->q_resources) in gve_tx_alloc_ring_dqo()
941 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
948 gve_tx_put_doorbell_dqo(priv, tx->q_resources, tx->dqo_tx.tail); in gve_tx_dqo()
H A Dgve.h273 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
554 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member