Spdk/lib/env_dpdk
Darek Stojaczyk 3cc92124d0 pci: do not manually unmap resources if probe fails
We need to do it only for DPDK 16.11, which leaks the
mappings otherwise. DPDK was fixed in version 17.02 with
the following commit:

e84ad157 (pci: unmap resources if probe fails)

Unmapping the resources twice doesn't actually cause
us any trouble, but prints an ambiguous error message.

Change-Id: I8b62e86d5fff8fe924dbf9ae2e37cff29298d412
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/433863 (master)
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/448367
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2019-03-22 08:16:19 +00:00
..
env_internal.h memory: fix contiguous memory calculation for unaligned buffers 2018-12-06 17:08:38 +00:00
env.c env: Fix spdk_ring creation and access. 2018-09-20 21:51:55 +00:00
env.mk mk: add spdk_lib_list_to_shared_libs 2018-10-15 16:44:36 +00:00
init.c env/dpdk: always set base-virtaddr 2019-03-22 08:16:19 +00:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c memory: return first translation from mem_map_translate 2018-12-14 17:59:03 +00:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci_virtio.c dpdk/pci: support DPDK 18.08 write combined PCI resources 2018-08-15 17:43:30 +00:00
pci.c pci: do not manually unmap resources if probe fails 2019-03-22 08:16:19 +00:00
threads.c env/dpdk: add security checks to spdk_env_get_socket_id() 2018-09-10 17:23:39 +00:00
vtophys.c env_dpdk: spdk_mem_map_translate informs user of translation size. 2018-09-26 20:57:57 +00:00