Spdk/lib/env_dpdk
Jim Harris 3178ad6476 env: return fd from spdk_pci_device_claim()
This allows users of this interface to then close the fd
when they want to release the claim.

This prepares for calling spdk_pci_device_claim() in the
nvme driver to cover not just the bdev_nvme driver but all
of our nvme example and test applications as well.  We'll
want the fd returned so that we can properly close it during
detach (including hotplug) use cases.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I8b149cc4e778ba31c0e7045b858c8a1561b6b7af

Reviewed-on: https://review.gerrithub.io/385523
Reviewed-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2017-11-03 18:48:33 -04:00
..
env_internal.h env: Split spdk_mem_map* functions into a separate file 2017-09-01 15:25:24 -04:00
env.c env/ring: add spdk_ring_count 2017-10-18 13:08:45 -04:00
env.mk env_dpdk: use detected include file path 2017-09-12 16:43:20 -04:00
init.c env/dpdk: unlink hugepage_info and config files immediately for single process apps 2017-10-20 19:43:26 -04:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env: Remove old translation reference counting 2017-09-01 15:25:24 -04: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 env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
pci.c env: return fd from spdk_pci_device_claim() 2017-11-03 18:48:33 -04:00
threads.c env: Add wrappers to launch and wait for threads 2017-06-07 12:34:15 -04:00
vtophys.c env: Automatically register new memory with the IOMMU 2017-09-01 15:25:24 -04:00