numam-spdk/lib/env_dpdk
Dariusz Stojaczyk ba00a42d27 vtophys: fix vfio dma unmap range
We were passing a map structure to unmap ioctl,
where we should obviously pass an unmap structure
instead.

Due to how map/unmap structures are, we were
unmapping much more memory than necessary on pci
hotremove.

Change-Id: Iabbea4b277228dc3de300849f751202f42bded2b
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/421693
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-08-13 04:15:53 +00:00
..
env_internal.h env_dpdk: track PCI devices internally for vtophys 2018-04-02 14:03:05 -04:00
env.c env: introduce spdk_memzone_reserve_aligned 2018-07-02 19:13:23 +00:00
env.mk env.mk: link libnuma if RTE_EAL_NUMA_AWARE_HUGEPAGES is set 2018-06-15 18:42:02 +00:00
init.c env_dpdk: delete all unnecessary files created by dpdk 18.05 2018-07-27 16:48:47 +00:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env_dpdk: fix mem_map translation for sizes >2MB 2018-07-06 22:36:22 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c bdev/virtio: added vhost-blk initiator 2018-03-02 13:41:38 -05:00
pci.c env: remove deprecated spdk_pci_get_device() 2018-05-10 19:40:22 +00:00
threads.c env_dpdk: add an assert check for last core 2018-02-22 10:43:59 -05:00
vtophys.c vtophys: fix vfio dma unmap range 2018-08-13 04:15:53 +00:00