Searched refs:qpl (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_main.c | 768 struct gve_queue_page_list *qpl) in gve_unregister_qpl() argument 772 if (!qpl) in gve_unregister_qpl() 775 err = gve_adminq_unregister_page_list(priv, qpl->id); in gve_unregister_qpl() 779 qpl->id); in gve_unregister_qpl() 783 priv->num_registered_pages -= qpl->num_entries; in gve_unregister_qpl() 788 struct gve_queue_page_list *qpl) in gve_register_qpl() argument 793 if (!qpl) in gve_register_qpl() 796 pages = qpl->num_entries; in gve_register_qpl() 806 err = gve_adminq_register_page_list(priv, qpl); in gve_register_qpl() 810 qpl->id); in gve_register_qpl() [all …]
|
| H A D | gve_tx_dqo.c | 23 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs() 199 if (tx->dqo.qpl) in gve_tx_clean_pending_packets() 264 if (tx->dqo.qpl) { in gve_tx_free_ring_dqo() 266 gve_free_queue_page_list(priv, tx->dqo.qpl, qpl_id); in gve_tx_free_ring_dqo() 267 tx->dqo.qpl = NULL; in gve_tx_free_ring_dqo() 276 tx->dqo.qpl->num_entries; in gve_tx_qpl_buf_init() 395 tx->dqo.qpl = gve_alloc_queue_page_list(priv, qpl_id, in gve_tx_alloc_ring_dqo() 397 if (!tx->dqo.qpl) in gve_tx_alloc_ring_dqo() 774 *va = page_address(tx->dqo.qpl->pages[page_id]) + offset; in gve_tx_buf_get_addr() 775 *dma_addr = tx->dqo.qpl->page_buses[page_id] + offset; in gve_tx_buf_get_addr() [all …]
|
| H A D | gve_adminq.c | 713 GVE_RAW_ADDRESSING_QPL_ID : tx->tx_fifo.qpl->id; in gve_adminq_create_tx_queue() 722 qpl_id = tx->dqo.qpl->id; in gve_adminq_create_tx_queue() 771 GVE_RAW_ADDRESSING_QPL_ID : rx->data.qpl->id; in gve_adminq_get_create_rx_queue_cmd() 785 qpl_id = rx->dqo.qpl->id; in gve_adminq_get_create_rx_queue_cmd() 1124 struct gve_queue_page_list *qpl) in gve_adminq_register_page_list() argument 1127 u32 num_entries = qpl->num_entries; in gve_adminq_register_page_list() 1128 u32 size = num_entries * sizeof(qpl->page_buses[0]); in gve_adminq_register_page_list() 1141 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list() 1145 .page_list_id = cpu_to_be32(qpl->id), in gve_adminq_register_page_list()
|
| H A D | gve.h | 142 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ member 297 struct gve_queue_page_list *qpl; member 390 struct gve_queue_page_list *qpl; /* QPL mapped into this FIFO */ member 630 struct gve_queue_page_list *qpl; member 1223 struct gve_queue_page_list *qpl,
|
| H A D | gve_rx_dqo.c | 172 if (rx->dqo.qpl) { in gve_rx_free_ring_dqo() 174 gve_free_queue_page_list(priv, rx->dqo.qpl, qpl_id); in gve_rx_free_ring_dqo() 175 rx->dqo.qpl = NULL; in gve_rx_free_ring_dqo() 299 rx->dqo.qpl = gve_alloc_queue_page_list(priv, qpl_id, in gve_rx_alloc_ring_dqo() 301 if (!rx->dqo.qpl) in gve_rx_alloc_ring_dqo() 548 if (!rx->dqo.qpl) in gve_rx_should_trigger_copy_ondemand()
|
| H A D | gve_adminq.h | 639 struct gve_queue_page_list *qpl);
|