Home
last modified time | relevance | path

Searched refs:qpl (Results 1 – 17 of 17) sorted by relevance

/openbmc/qemu/migration/
H A Dmultifd-qpl.c87 static void multifd_qpl_free_sw_job(QplData *qpl) in multifd_qpl_free_sw_job() argument
89 assert(qpl); in multifd_qpl_free_sw_job()
90 if (qpl->sw_job) { in multifd_qpl_free_sw_job()
91 qpl_fini_job(qpl->sw_job); in multifd_qpl_free_sw_job()
92 g_free(qpl->sw_job); in multifd_qpl_free_sw_job()
93 qpl->sw_job = NULL; in multifd_qpl_free_sw_job()
104 static void multifd_qpl_free_hw_job(QplData *qpl) in multifd_qpl_free_hw_job() argument
106 assert(qpl); in multifd_qpl_free_hw_job()
107 if (qpl->hw_jobs) { in multifd_qpl_free_hw_job()
108 for (int i = 0; i < qpl->page_num; i++) { in multifd_qpl_free_hw_job()
[all …]
H A Dmeson.build44 system_ss.add(when: qpl, if_true: files('multifd-qpl.c'))
/openbmc/qemu/docs/devel/migration/
H A Dqpl-compression.rst14 <https://intel.github.io/qpl/documentation/introduction_docs/introduction.html>`_
49 $git clone --recursive https://github.com/intel/qpl.git qpl
50 $mkdir qpl/build
51 $cd qpl/build
56 <https://intel.github.io/qpl/documentation/get_started_docs/installation.html>`_
200 3 - Build ``QEMU`` with ``--enable-qpl`` parameter
202 E.g. configure --target-list=x86_64-softmmu --enable-kvm ``--enable-qpl``
206 Set ``migrate_set_parameter multifd-compression qpl`` when migrating, the
H A Dfeatures.rst15 qpl-compression
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c146 if (rx->dqo.qpl) in gve_get_recycled_buf_state()
170 if (!rx->dqo.qpl) { in gve_alloc_page_dqo()
186 buf_state->page_info.page = rx->dqo.qpl->pages[idx]; in gve_alloc_page_dqo()
187 buf_state->addr = rx->dqo.qpl->page_buses[idx]; in gve_alloc_page_dqo()
226 gve_free_page_dqo(priv, bs, !rx->dqo.qpl); in gve_rx_free_ring_dqo()
228 if (rx->dqo.qpl) { in gve_rx_free_ring_dqo()
229 gve_unassign_qpl(priv, rx->dqo.qpl->id); in gve_rx_free_ring_dqo()
230 rx->dqo.qpl = NULL; in gve_rx_free_ring_dqo()
312 rx->dqo.qpl = gve_assign_rx_qpl(priv, rx->q_num); in gve_rx_alloc_ring_dqo()
313 if (!rx->dqo.qpl) in gve_rx_alloc_ring_dqo()
[all …]
H A Dgve_tx_dqo.c21 if (!tx->dqo.qpl) in gve_has_free_tx_qpl_bufs()
225 if (tx->dqo.qpl) { in gve_tx_free_ring_dqo()
226 gve_unassign_qpl(priv, tx->dqo.qpl->id); in gve_tx_free_ring_dqo()
227 tx->dqo.qpl = NULL; in gve_tx_free_ring_dqo()
236 tx->dqo.qpl->num_entries; in gve_tx_qpl_buf_init()
331 tx->dqo.qpl = gve_assign_tx_qpl(priv, idx); in gve_tx_alloc_ring_dqo()
332 if (!tx->dqo.qpl) in gve_tx_alloc_ring_dqo()
653 *va = page_address(tx->dqo.qpl->pages[page_id]) + offset; in gve_tx_buf_get_addr()
654 *dma_addr = tx->dqo.qpl->page_buses[page_id] + offset; in gve_tx_buf_get_addr()
738 if (tx->dqo.qpl) { in gve_tx_add_skb_dqo()
[all …]
H A Dgve_tx.c41 fifo->base = vmap(fifo->qpl->pages, fifo->qpl->num_entries, VM_MAP, in gve_tx_fifo_init()
45 fifo->qpl->id); in gve_tx_fifo_init()
49 fifo->size = fifo->qpl->num_entries * PAGE_SIZE; in gve_tx_fifo_init()
222 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_free_ring()
223 tx->tx_fifo.qpl = NULL; in gve_tx_free_ring()
265 tx->tx_fifo.qpl = gve_assign_tx_qpl(priv, idx); in gve_tx_alloc_ring()
266 if (!tx->tx_fifo.qpl) in gve_tx_alloc_ring()
294 gve_unassign_qpl(priv, tx->tx_fifo.qpl->id); in gve_tx_alloc_ring()
551 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
574 gve_dma_sync_for_device(&priv->pdev->dev, tx->tx_fifo.qpl->page_buses, in gve_tx_add_skb_copy()
[all …]
H A Dgve_main.c998 struct gve_queue_page_list *qpl = &priv->qpls[id]; in gve_alloc_queue_page_list() local
1010 qpl->id = id; in gve_alloc_queue_page_list()
1011 qpl->num_entries = 0; in gve_alloc_queue_page_list()
1012 qpl->pages = kvcalloc(pages, sizeof(*qpl->pages), GFP_KERNEL); in gve_alloc_queue_page_list()
1014 if (!qpl->pages) in gve_alloc_queue_page_list()
1016 qpl->page_buses = kvcalloc(pages, sizeof(*qpl->page_buses), GFP_KERNEL); in gve_alloc_queue_page_list()
1018 if (!qpl->page_buses) in gve_alloc_queue_page_list()
1022 err = gve_alloc_page(priv, &priv->pdev->dev, &qpl in gve_alloc_queue_page_list()
1046 struct gve_queue_page_list *qpl = &priv->qpls[id]; gve_free_queue_page_list() local
[all...]
H A Dgve_adminq.c523 GVE_RAW_ADDRESSING_QPL_ID : tx->tx_fifo.qpl->id; in gve_adminq_create_tx_queue()
535 qpl_id = tx->dqo.qpl->id; in gve_adminq_create_tx_queue()
579 GVE_RAW_ADDRESSING_QPL_ID : rx->data.qpl->id; in gve_adminq_create_rx_queue()
597 qpl_id = rx->dqo.qpl->id; in gve_adminq_create_rx_queue()
877 struct gve_queue_page_list *qpl) in gve_adminq_register_page_list() argument
880 u32 num_entries = qpl->num_entries; in gve_adminq_register_page_list()
881 u32 size = num_entries * sizeof(qpl->page_buses[0]); in gve_adminq_register_page_list()
894 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list()
898 .page_list_id = cpu_to_be32(qpl->id), in gve_adminq_register_page_list()
H A Dgve_rx.c39 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_rx_unfill_pages()
40 rx->data.qpl = NULL; in gve_rx_unfill_pages()
130 rx->data.qpl = gve_assign_rx_qpl(priv, rx->q_num); in gve_prefill_rx_pages()
131 if (!rx->data.qpl) { in gve_prefill_rx_pages()
139 struct page *page = rx->data.qpl->pages[i]; in gve_prefill_rx_pages()
188 gve_unassign_qpl(priv, rx->data.qpl->id); in gve_prefill_rx_pages()
189 rx->data.qpl = NULL; in gve_prefill_rx_pages()
765 rx->data.qpl->page_buses[idx]; in gve_rx()
H A Dgve.h69 * allocs and uses a non-qpl page on the receive path of DQO QPL to free
107 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ member
242 /* qpl assigned to this queue */
243 struct gve_queue_page_list *qpl; member
327 struct gve_queue_page_list *qpl; /* QPL mapped into this FIFO */ member
539 /* qpl assigned to this queue */
540 struct gve_queue_page_list *qpl; member
596 /* Tracks the available and used qpl IDs */
599 unsigned long *qpl_id_map; /* bitmap of used qpl id
[all...]
H A Dgve_adminq.h428 struct gve_queue_page_list *qpl);
/openbmc/qemu/scripts/
H A Dmeson-buildoptions.sh454 --enable-qpl) printf "%s" -Dqpl=enabled ;;
455 --disable-qpl) printf "%s" -Dqpl=disabled ;;
/openbmc/qemu/qapi/
H A Dmigration.json569 # @qpl: use qpl compression method. Query Processing Library(qpl) is
583 { 'name': 'qpl', 'if': 'CONFIG_QPL' },
/openbmc/qemu/
H A Dmeson_options.txt266 option('qpl', type : 'feature', value : 'auto', feature
H A Dmeson.build1319 qpl = not_found variable
1320 if not get_option('qpl').auto() or have_system
1321 qpl = dependency('qpl', version: '>=1.5.0', variable
1322 required: get_option('qpl'),
2534 config_host_data.set('CONFIG_QPL', qpl.found())
4808 summary_info += {'Query Processing Library support': qpl}
/openbmc/linux/
H A Dopengrok0.0.log[all...]