Spdk/lib/env_dpdk
Michael Haeuptle 9bcc0ea8e8 ENV_DPDK/VFIO: Increase PCI tear down timeout
When removing large number of devices (>8) in parallel,
the 20ms timeout is not long enough.

As part of spdk_detach_cb, DPDK calls into the VFIO driver
which may get delayed due to multiple hot removes being
processed by pciehp driver (pciehp IRQ thread function
is handling the actual removal of a device in paralle but
all of the IRQ thread function compete for a global mutex
increasing processing time and race conditions).

Signed-off-by: Michael Haeuptle <michael.haeuptle@hpe.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1588 (master)

(cherry picked from commit 55df83ceb6)
Change-Id: I470fbbee92dac9677082c873781efe41e2941cd5
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2598
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com>
2020-05-29 08:27:00 +00:00
..
env_internal.h env_dpdk: tell spdk_mem_map_init whether legacy_mem was specified 2019-12-11 11:05:10 +00:00
env.c env: add a new function for printing memory layout 2019-12-13 11:05:57 +00:00
env.mk env_dpdk: add functions to define dpdk_env make variables 2019-10-01 14:01:58 +00:00
init.c env_dpdk: fix DPDK 18.05 legacy-mem check 2019-12-30 11:44:54 +00:00
Makefile env: Add spdk_mem_reserve 2020-05-29 08:26:42 +00:00
memory.c Revert "env: Use rte_malloc in spdk_mem_register code path when possible" 2020-05-29 08:26:42 +00:00
pci_ioat.c ioat: add device IDs for new CB-DMA engines 2019-02-26 06:50:52 +00:00
pci_nvme.c pci: remove nvme-specific attach functions 2018-12-07 17:24:19 +00:00
pci_virtio.c pci: remove virtio-specific attach functions 2018-12-07 17:24:19 +00:00
pci_vmd.c lib/env_dpdk: Added VMD PCI driver object 2019-05-29 20:35:11 +00:00
pci.c ENV_DPDK/VFIO: Increase PCI tear down timeout 2020-05-29 08:27:00 +00:00
threads.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00