git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
log: promote some function to stable
[dpdk.git]
/
lib
/
eal
/
windows
/
eal_memory.c
diff --git
a/lib/eal/windows/eal_memory.c
b/lib/eal/windows/eal_memory.c
index
4db048c
..
71741fc
100644
(file)
--- a/
lib/eal/windows/eal_memory.c
+++ b/
lib/eal/windows/eal_memory.c
@@
-198,6
+198,13
@@
exit:
return ret;
}
+void
+eal_mem_virt2iova_cleanup(void)
+{
+ if (virt2phys_device != INVALID_HANDLE_VALUE)
+ CloseHandle(virt2phys_device);
+}
+
phys_addr_t
rte_mem_virt2phy(const void *virt)
{