Home
last modified time | relevance | path

Searched refs:virt (Results 1 – 19 of 19) sorted by relevance

/dpdk/lib/eal/unix/
H A Deal_unix_memory.c30 void *virt = mmap(requested_addr, size, prot, flags, fd, offset); in mem_map() local
31 if (virt == MAP_FAILED) { in mem_map()
39 return virt; in mem_map()
43 mem_unmap(void *virt, size_t size) in mem_unmap() argument
45 int ret = munmap(virt, size); in mem_unmap()
48 virt, size, strerror(errno)); in mem_unmap()
75 eal_mem_free(void *virt, size_t size) in eal_mem_free() argument
77 mem_unmap(virt, size); in eal_mem_free()
81 eal_mem_set_dump(void *virt, size_t size, bool dump) in eal_mem_set_dump() argument
84 int ret = madvise(virt, size, flags); in eal_mem_set_dump()
[all …]
/dpdk/lib/eal/windows/
H A Deal_memory.c216 rte_mem_virt2phy(const void *virt) in rte_mem_virt2phy() argument
226 &virt, sizeof(virt), &phys, sizeof(phys), in rte_mem_virt2phy()
236 rte_mem_virt2iova(const void *virt) in rte_mem_virt2iova() argument
241 return (rte_iova_t)virt; in rte_mem_virt2iova()
243 phys = rte_mem_virt2phy(virt); in rte_mem_virt2iova()
285 void *virt; in eal_mem_reserve() local
295 virt = VirtualAlloc2_ptr(process, requested_addr, size, in eal_mem_reserve()
298 if (virt == NULL) { in eal_mem_reserve()
305 if ((flags & EAL_RESERVE_FORCE_ADDRESS) && (virt != requested_addr)) { in eal_mem_reserve()
306 if (!VirtualFreeEx(process, virt, 0, MEM_RELEASE)) in eal_mem_reserve()
[all …]
/dpdk/lib/eal/include/
H A Drte_memory.h86 * @param virt
91 int rte_mem_lock_page(const void *virt);
98 * @param virt
103 phys_addr_t rte_mem_virt2phy(const void *virt);
113 * @param virt
118 rte_iova_t rte_mem_virt2iova(const void *virt);
138 * @param virt
141 * The memseg list in which to look up based on ``virt`` address
147 rte_mem_virt2memseg(const void *virt, const struct rte_memseg_list *msl);
152 * @param virt
[all...]
H A Drte_eal_paging.h71 rte_mem_unmap(void *virt, size_t size);
98 rte_mem_lock(const void *virt, size_t size);
/dpdk/drivers/net/thunderx/
H A Dnicvf_ethdev.h102 nicvf_mbuff_virt2phy(uintptr_t virt, uint64_t mbuf_phys_off) in nicvf_mbuff_virt2phy() argument
104 return (rte_iova_t)(virt - mbuf_phys_off); in nicvf_mbuff_virt2phy()
/dpdk/lib/eal/common/
H A Deal_private.h646 * If *virt* and *size* describe a part of the reserved region,
648 * page size). If *virt* points to allocated memory, *size* must match
650 * if the memory pointed by *virt* is obtained from another source
653 * @param virt
659 eal_mem_free(void *virt, size_t size);
664 * @param virt
674 eal_mem_set_dump(void *virt, size_t size, bool dump);
H A Deal_common_memory.c347 void *virt; member
356 vi->virt = RTE_PTR_ADD(ms->addr, offset); in find_virt()
369 vi->virt = RTE_PTR_ADD(ms->addr, offset); in find_virt_legacy()
394 return vi.virt; in rte_mem_iova2virt()
446 "virt:%p, socket_id:%"PRId32", " in dump_memseg()
660 rte_mem_lock_page(const void *virt) in rte_mem_lock_page()
662 uintptr_t virtual = (uintptr_t)virt; in rte_mem_lock_page()
658 rte_mem_lock_page(const void * virt) rte_mem_lock_page() argument
/dpdk/app/test/
H A Dtest_mempool.c746 void *virt; in test_mempool_flag_non_io_set_when_no_iova_contig_set() local
754 virt = mz->addr; in test_mempool_flag_non_io_set_when_no_iova_contig_set()
770 ret = rte_mempool_populate_iova(mp, virt, iova, size, NULL, NULL); in test_mempool_flag_non_io_set_when_no_iova_contig_set()
786 void *virt; in test_mempool_flag_non_io_unset_when_populated_with_valid_iova() local
800 virt = mz->addr; in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
811 ret = rte_mempool_populate_iova(mp, RTE_PTR_ADD(virt, 1 * block_size), in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
818 ret = rte_mempool_populate_iova(mp, virt, iova, block_size, NULL, NULL); in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
824 ret = rte_mempool_populate_iova(mp, RTE_PTR_ADD(virt, 2 * block_size), in test_mempool_flag_non_io_unset_when_populated_with_valid_iova()
/dpdk/examples/vm_power_manager/guest_cli/
H A Dmeson.build19 opt_dep = cc.find_library('virt', required : false) build
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_hwdev.c177 void *virt, dma_addr_t phys) in hinic_dma_mem_free() argument
184 if (virt == NULL || phys == 0) in hinic_dma_mem_free()
197 if (virt != mz->addr || size > mz->len) { in hinic_dma_mem_free()
202 (void *)phys, virt, size); in hinic_dma_mem_free()
234 void dma_free_coherent(void *hwdev, size_t size, void *virt, dma_addr_t phys) in dma_free_coherent() argument
236 hinic_dma_mem_free(hwdev, size, virt, phys); in dma_free_coherent()
240 volatile void *virt, dma_addr_t phys) in dma_free_coherent_volatile() argument
248 if (virt == NULL || phys == 0) in dma_free_coherent_volatile()
261 if (virt != mz->addr || size > mz->len) { in dma_free_coherent_volatile()
266 (void *)phys, virt, size); in dma_free_coherent_volatile()
H A Dhinic_pmd_hwdev.h452 volatile void *virt, dma_addr_t phys);
/dpdk/examples/vm_power_manager/
H A Dmeson.build40 opt_dep = cc.find_library('virt', required : false) build
/dpdk/lib/mempool/
H A Dmempool_trace_points.c46 lib.mempool.populate.virt)
/dpdk/doc/guides/nics/
H A Dthunderx.rst119 virt-manager or virsh etc.
126 -machine virt,gic_version=3,accel=kvm,usb=off \
H A Dbnx2x.rst193 The VF devices may be passed through to the guest VM using virt-manager or
H A Dqede.rst259 The VF devices may be passed through to the guest VM using ``virt-manager`` or
H A Dintel_vf.rst431 ls -alrt /sys/bus/pci/devices/0000\:02\:00.0/virt*
439 ls -alrt /sys/bus/pci/devices/0000\:02\:00.1/virt*
545 …* The Virtual Machine Manager (the Fedora package name is virt-manager) is a utility for virtual…
/dpdk/doc/guides/howto/
H A Dvirtio_user_as_exception_path.rst87 Number of virt-queues. Each queue will be served by a kthread.
/dpdk/doc/guides/rel_notes/
H A Drelease_2_2.rst527 * The devargs union field ``virtual`` is renamed to ``virt`` for C++