Spdk/lib/env_dpdk
Changpeng Liu c0bf93145a env/memory: return the memory virtual address's file descriptor and offset
For virtio-user library and coming vfio-user feature, the client needs
to send the memory file descriptors to target so that the two processes
can setup shared memory region to do data processing without memory copy.
Currently virtio-user will read /proc/self/maps to get memory file descriptor,
since DPDK already provides this such APIs, so here we can just use it,
for existing virtio-user library we may replace it with the new added
API.

Change-Id: Icfeae465d53826d0c8d1b335287634b03cd174aa
Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4428
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2020-10-21 20:47:01 +00:00
..
env_internal.h env: add spdk_pci_driver_register() to the public API 2020-07-24 21:42:26 +00:00
env.c env: replace MEMPOOL_F_NO_PHYS_CONTIG with MEMPOOL_F_NO_IOVA_CONTIG 2020-09-29 09:37:44 +00:00
env.mk vhost: deprecate internal vhost library support 2020-10-20 02:42:16 +00:00
init.c lib/env_dpdk: replace printf() and fprintf(stderr,) usage 2020-09-07 09:28:39 +00:00
Makefile env/memory: return the memory virtual address's file descriptor and offset 2020-10-21 20:47:01 +00:00
memory.c env/memory: return the memory virtual address's file descriptor and offset 2020-10-21 20:47:01 +00:00
pci_idxd.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_ioat.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_virtio.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci_vmd.c env: fix pci driver registration 2020-08-27 08:36:43 +00:00
pci.c lib/env_dpdk: replace printf() and fprintf(stderr,) usage 2020-09-07 09:28:39 +00:00
spdk_env_dpdk.map env/memory: return the memory virtual address's file descriptor and offset 2020-10-21 20:47:01 +00:00
threads.c Revert "thread: add spdk_env_get_primary_core" 2020-07-29 14:58:44 +00:00