e65e798b34
Factor out setup source and destination mbufs operation from _comppress_operation() into a helper function _setup_compress_mbufs(). Setup source mbufs and setup destination mbufs are identical except for total_length, and so this refactorinng is possible. This refactoring will improve readability and clarify the logic a little. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: Ia0a230c2d5e74aec917580aae969b49266178191 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1683 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
sock | ||
Makefile |