+189
−105
Loading
Introduce a function pointer table to ns_entry to remove if-else sequence in every operation depending on the type, AIO or NVMe. This will simplify upcoming DIF and DIX support in the Perf tool. Change-Id: Ibbd9a9ac3a0b5df529d5b60706ce750a746114c3 Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/c/439630 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>