Searched refs:dma_id (Results 1 – 5 of 5) sorted by relevance
| /dpdk/lib/vhost/ |
| H A D | rte_vhost_async.h | 100 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id, 125 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id, 183 struct rte_mbuf **pkts, uint16_t count, int16_t dma_id, 205 int rte_vhost_async_dma_configure(int16_t dma_id, uint16_t vchan_id);
|
| H A D | virtio_net.c | 82 dev->ifname, dma_id, vchan_id); in vhost_async_dma_transfer_one() 122 rte_dma_submit(dma_id, vchan_id); in vhost_async_dma_transfer() 151 dma_id, vchan_id); in vhost_async_dma_check_completed() 1587 int16_t dma_id, uint16_t vchan_id) in virtio_dev_rx_async_submit_split() argument 1793 int16_t dma_id, uint16_t vchan_id) in virtio_dev_rx_async_submit_packed() argument 2044 if (unlikely(!dma_copy_track[dma_id].vchans || in rte_vhost_poll_enqueue_completed() 2047 dma_id, vchan_id); in rte_vhost_poll_enqueue_completed() 2103 dma_id, vchan_id); in rte_vhost_clear_queue_thread_unsafe() 2129 dma_id, vchan_id); in virtio_dev_rx_async_submit() 2153 pkts, count, dma_id, vchan_id); in virtio_dev_rx_async_submit() [all …]
|
| H A D | vhost.c | 1821 if (!rte_dma_is_valid(dma_id)) { in rte_vhost_async_dma_configure() 1822 VHOST_LOG_CONFIG(ERR, "DMA %d is not found.\n", dma_id); in rte_vhost_async_dma_configure() 1826 rte_dma_info_get(dma_id, &info); in rte_vhost_async_dma_configure() 1832 if (!dma_copy_track[dma_id].vchans) { in rte_vhost_async_dma_configure() 1839 dma_id, vchan_id); in rte_vhost_async_dma_configure() 1843 dma_copy_track[dma_id].vchans = vchans; in rte_vhost_async_dma_configure() 1859 "vChannel %u.\n", dma_id, vchan_id); in rte_vhost_async_dma_configure() 1861 if (dma_copy_track[dma_id].nr_vchans == 0) { in rte_vhost_async_dma_configure() 1862 rte_free(dma_copy_track[dma_id].vchans); in rte_vhost_async_dma_configure() 1863 dma_copy_track[dma_id].vchans = NULL; in rte_vhost_async_dma_configure() [all …]
|
| /dpdk/examples/vhost/ |
| H A D | main.c | 993 int16_t dma_id = dma_bind[vdev->vid].dmas[VIRTIO_RXQ].dev_id; in complete_async_pkts() local 996 VIRTIO_RXQ, p_cpl, MAX_PKT_BURST, dma_id, 0); in complete_async_pkts() 1036 int16_t dma_id = dma_bind[vdev->vid].dmas[VIRTIO_RXQ].dev_id; in drain_vhost() local 1039 ret = rte_vhost_submit_enqueue_burst(vdev->vid, VIRTIO_RXQ, m, nr_xmit, dma_id, 0); in drain_vhost() 1363 int16_t dma_id = dma_bind[vdev->vid].dmas[VIRTIO_RXQ].dev_id; in drain_eth_rx() local 1367 VIRTIO_RXQ, pkts, rx_count, dma_id, 0); in drain_eth_rx() 1540 int16_t dma_id = dma_bind[vid].dmas[VIRTIO_RXQ].dev_id; in destroy_device() local 1546 m_cpl, pkts_inflight, dma_id, 0); in destroy_device() 1655 int16_t dma_id = dma_bind[vid].dmas[VIRTIO_RXQ].dev_id; in vring_state_changed() local 1660 m_cpl, pkts_inflight, dma_id, 0); in vring_state_changed()
|
| /dpdk/doc/guides/prog_guide/ |
| H A D | vhost_lib.rst | 221 * ``rte_vhost_async_dma_configure(dma_id, vchan_id)`` 258 * ``rte_vhost_submit_enqueue_burst(vid, queue_id, pkts, count, dma_id, vchan_id)`` 264 * ``rte_vhost_poll_enqueue_completed(vid, queue_id, pkts, count, dma_id, vchan_id)`` 280 * ``rte_vhost_clear_queue_thread_unsafe(vid, queue_id, **pkts, count, dma_id, vchan_id)``
|