+1
−1
+654
−0
lib/env_dpdk/vtophys.c
deleted100644 → 0
+0
−707
File deleted.
Preview size limit exceeded, changes collapsed.
+1
−0
Loading
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>
File deleted.
Preview size limit exceeded, changes collapsed.