Searched refs:qpl (Results 1 – 6 of 6) sorted by relevance
/linux-6.3-rc2/drivers/net/ethernet/google/gve/ |
A D | gve_tx.c | 32 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init() 36 fifo->qpl->id); in gve_tx_fifo_init() 40 fifo->size = fifo->qpl->num_entries * PAGE_SIZE; in gve_tx_fifo_init() 156 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_free_ring() 157 tx->tx_fifo.qpl = NULL; in gve_tx_free_ring() 198 tx->tx_fifo.qpl = gve_assign_tx_qpl(priv); in gve_tx_alloc_ring() 199 if (!tx->tx_fifo.qpl) in gve_tx_alloc_ring() 226 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_alloc_ring() 483 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy() 504 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
|
A D | gve_main.c | 843 qpl->id = id; in gve_alloc_queue_page_list() 844 qpl->num_entries = 0; in gve_alloc_queue_page_list() 845 qpl->pages = kvcalloc(pages, sizeof(*qpl->pages), GFP_KERNEL); in gve_alloc_queue_page_list() 847 if (!qpl->pages) in gve_alloc_queue_page_list() 849 qpl->page_buses = kvcalloc(pages, sizeof(*qpl->page_buses), GFP_KERNEL); in gve_alloc_queue_page_list() 851 if (!qpl->page_buses) in gve_alloc_queue_page_list() 861 qpl->num_entries++; in gve_alloc_queue_page_list() 882 if (!qpl->pages) in gve_free_queue_page_list() 884 if (!qpl->page_buses) in gve_free_queue_page_list() 891 kvfree(qpl->page_buses); in gve_free_queue_page_list() [all …]
|
A D | gve_adminq.c | 504 GVE_RAW_ADDRESSING_QPL_ID : tx->tx_fifo.qpl->id; in gve_adminq_create_tx_queue() 548 GVE_RAW_ADDRESSING_QPL_ID : rx->data.qpl->id; in gve_adminq_create_rx_queue() 810 struct gve_queue_page_list *qpl) in gve_adminq_register_page_list() argument 813 u32 num_entries = qpl->num_entries; in gve_adminq_register_page_list() 814 u32 size = num_entries * sizeof(qpl->page_buses[0]); in gve_adminq_register_page_list() 827 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list() 831 .page_list_id = cpu_to_be32(qpl->id), in gve_adminq_register_page_list()
|
A D | gve_rx.c | 36 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_rx_unfill_pages() 37 rx->data.qpl = NULL; in gve_rx_unfill_pages() 127 rx->data.qpl = gve_assign_rx_qpl(priv); in gve_prefill_rx_pages() 128 if (!rx->data.qpl) { in gve_prefill_rx_pages() 136 struct page *page = rx->data.qpl->pages[i]; in gve_prefill_rx_pages() 644 rx->data.qpl->page_buses[idx]; in gve_rx()
|
A D | gve.h | 82 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ member 277 struct gve_queue_page_list *qpl; /* QPL mapped into this FIFO */ member
|
A D | gve_adminq.h | 418 struct gve_queue_page_list *qpl);
|
Completed in 18 milliseconds