Searched refs:qpl (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/google/gve/ |
| D | gve_main.c | 765 struct gve_queue_page_list *qpl = &priv->qpls[id]; in gve_alloc_queue_page_list() local 777 qpl->id = id; in gve_alloc_queue_page_list() 778 qpl->num_entries = 0; in gve_alloc_queue_page_list() 779 qpl->pages = kvzalloc(pages * sizeof(*qpl->pages), GFP_KERNEL); in gve_alloc_queue_page_list() 781 if (!qpl->pages) in gve_alloc_queue_page_list() 783 qpl->page_buses = kvzalloc(pages * sizeof(*qpl->page_buses), in gve_alloc_queue_page_list() 786 if (!qpl->page_buses) in gve_alloc_queue_page_list() 790 err = gve_alloc_page(priv, &priv->pdev->dev, &qpl->pages[i], in gve_alloc_queue_page_list() 791 &qpl->page_buses[i], in gve_alloc_queue_page_list() 796 qpl->num_entries++; in gve_alloc_queue_page_list() [all …]
|
| 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() 197 tx->tx_fifo.qpl = gve_assign_tx_qpl(priv); in gve_tx_alloc_ring() 198 if (!tx->tx_fifo.qpl) in gve_tx_alloc_ring() 225 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_alloc_ring() 460 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy() 476 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
|
| D | gve_rx.c | 32 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_rx_unfill_pages() 33 rx->data.qpl = NULL; in gve_rx_unfill_pages() 108 rx->data.qpl = gve_assign_rx_qpl(priv); in gve_prefill_rx_pages() 109 if (!rx->data.qpl) { in gve_prefill_rx_pages() 117 struct page *page = rx->data.qpl->pages[i]; in gve_prefill_rx_pages() 395 rx->data.qpl->page_buses[idx]; in gve_rx()
|
| D | gve_adminq.c | 481 GVE_RAW_ADDRESSING_QPL_ID : tx->tx_fifo.qpl->id; in gve_adminq_create_tx_queue() 525 GVE_RAW_ADDRESSING_QPL_ID : rx->data.qpl->id; in gve_adminq_create_rx_queue() 756 struct gve_queue_page_list *qpl) in gve_adminq_register_page_list() argument 759 u32 num_entries = qpl->num_entries; in gve_adminq_register_page_list() 760 u32 size = num_entries * sizeof(qpl->page_buses[0]); in gve_adminq_register_page_list() 773 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list() 777 .page_list_id = cpu_to_be32(qpl->id), in gve_adminq_register_page_list()
|
| D | gve.h | 81 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ member 249 struct gve_queue_page_list *qpl; /* QPL mapped into this FIFO */ member
|
| D | gve_adminq.h | 355 struct gve_queue_page_list *qpl);
|