/openbmc/qemu/migration/ |
H A D | multifd-qpl.c | 89 assert(qpl); in multifd_qpl_free_sw_job() 106 assert(qpl); in multifd_qpl_free_hw_job() 164 qpl->hw_jobs = g_new0(QplHwJob, qpl->page_num); in multifd_qpl_init_hw_job() 188 QplData *qpl; in multifd_qpl_init() local 202 return qpl; in multifd_qpl_init() 214 if (qpl) { in multifd_qpl_deinit() 235 QplData *qpl; in multifd_qpl_send_setup() local 238 if (!qpl) { in multifd_qpl_send_setup() 534 QplData *qpl; in multifd_qpl_recv_setup() local 537 if (!qpl) { in multifd_qpl_recv_setup() [all …]
|
H A D | meson.build | 42 system_ss.add(when: qpl, if_true: files('multifd-qpl.c'))
|
/openbmc/qemu/docs/devel/migration/ |
H A D | qpl-compression.rst | 14 <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 D | features.rst | 15 qpl-compression
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_rx_dqo.c | 146 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 D | gve_tx_dqo.c | 21 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() 738 if (tx->dqo.qpl) { in gve_tx_add_skb_dqo() 867 if (tx->dqo.qpl) { in gve_try_tx_skb() 1065 if (tx->dqo.qpl) in gve_handle_packet_completion() [all …]
|
H A D | gve_tx.c | 41 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 D | gve_main.c | 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() 1028 qpl->num_entries++; in gve_alloc_queue_page_list() 1049 if (!qpl->pages) in gve_free_queue_page_list() 1051 if (!qpl->page_buses) in gve_free_queue_page_list() 1061 kvfree(qpl->pages); in gve_free_queue_page_list() [all …]
|
H A D | gve_adminq.c | 523 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 D | gve_rx.c | 39 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 D | gve.h | 107 struct gve_queue_page_list *qpl; /* qpl assigned to this queue */ member 243 struct gve_queue_page_list *qpl; member 327 struct gve_queue_page_list *qpl; /* QPL mapped into this FIFO */ member 540 struct gve_queue_page_list *qpl; member
|
H A D | gve_adminq.h | 428 struct gve_queue_page_list *qpl);
|
/openbmc/qemu/scripts/ |
H A D | meson-buildoptions.sh | 443 --enable-qpl) printf "%s" -Dqpl=enabled ;; 444 --disable-qpl) printf "%s" -Dqpl=disabled ;;
|
/openbmc/qemu/qapi/ |
H A D | migration.json | 564 # @qpl: use qpl compression method. Query Processing Library(qpl) is 576 { 'name': 'qpl', 'if': 'CONFIG_QPL' },
|
/openbmc/qemu/ |
H A D | meson.build | 1253 qpl = not_found variable 1254 if not get_option('qpl').auto() or have_system 1255 qpl = dependency('qpl', version: '>=1.5.0', variable 1256 required: get_option('qpl'), 2419 config_host_data.set('CONFIG_QPL', qpl.found()) 4543 summary_info += {'Query Processing Library support': qpl}
|
H A D | meson_options.txt | 260 option('qpl', type : 'feature', value : 'auto', feature
|