Spdk/lib/env_dpdk
Jim Harris f74d069ec0 env_dpdk: move vtophys.c contents to memory.c
CPU profiling on workloads with intensive vtophys
operations (i.e. very small CB-DMA transfers) exposed
overhead introduce by spdk_vtophys having to call
spdk_mem_map_translate in a different compilation
unit.  Let's just move the vtophys.c contents into
memory.c so that spdk_vtophys can inline
spdk_mem_map_translate and avoid this extra overhead.

This of course breaks the memory and vtophys unit
tests, so some additional changes are needed there
to keep everything linking correctly.

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

Reviewed-on: https://review.gerrithub.io/c/444975
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
2019-02-20 16:41:46 +00:00
..
env_internal.h env/dpdk: remove rte_pci_bus extern declaration 2019-02-06 20:22:16 +00:00
env.c OCF: use rte_pause in wait loop 2019-01-28 19:24:13 +00:00
env.mk bdev/compress: Add configure option and build dependencies 2019-02-11 19:23:17 +00:00
init.c env/dpdk: suppress EAL's RTE_LOG_INFO messages 2019-01-25 00:44:04 +00:00
Makefile env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
memory.c env_dpdk: move vtophys.c contents to memory.c 2019-02-20 16:41:46 +00:00
pci_ioat.c pci: remove ioat-specific attach functions 2018-12-07 17:24:19 +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.c pci: rescan the bus on device enumeration 2019-01-09 08:23:42 +00:00
threads.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00