Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/google/gve/
Dgve_rx.c32 dma_free_coherent(dev, sizeof(*rx->q_resources), in gve_rx_free_ring()
33 rx->q_resources, rx->q_resources_bus); in gve_rx_free_ring()
34 rx->q_resources = NULL; in gve_rx_free_ring()
133 rx->q_resources = in gve_rx_alloc_ring()
135 sizeof(*rx->q_resources), in gve_rx_alloc_ring()
138 if (!rx->q_resources) { in gve_rx_alloc_ring()
167 dma_free_coherent(hdev, sizeof(*rx->q_resources), in gve_rx_alloc_ring()
168 rx->q_resources, rx->q_resources_bus); in gve_rx_alloc_ring()
169 rx->q_resources = NULL; in gve_rx_alloc_ring()
214 u32 db_idx = be32_to_cpu(rx->q_resources->db_index); in gve_rx_write_doorbell()
Dgve_tx.c15 struct gve_queue_resources *q_resources, in gve_tx_put_doorbell() argument
18 iowrite32be(val, &priv->db_bar2[be32_to_cpu(q_resources->db_index)]); in gve_tx_put_doorbell()
157 dma_free_coherent(hdev, sizeof(*tx->q_resources), in gve_tx_free_ring()
158 tx->q_resources, tx->q_resources_bus); in gve_tx_free_ring()
159 tx->q_resources = NULL; in gve_tx_free_ring()
215 tx->q_resources = in gve_tx_alloc_ring()
217 sizeof(*tx->q_resources), in gve_tx_alloc_ring()
220 if (!tx->q_resources) in gve_tx_alloc_ring()
494 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
510 gve_tx_put_doorbell(priv, tx->q_resources, tx->req); in gve_tx()
[all …]
Dgve.h76 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member
127 struct gve_queue_resources *q_resources; /* head and tail pointer idx */ member