numam-spdk/module
Shuhei Matsumoto e65e798b34 bdev/compress: Refactor _compress_operation() about mbuf allocation
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>
2020-04-14 11:35:44 +00:00
..
accel make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
bdev bdev/compress: Refactor _compress_operation() about mbuf allocation 2020-04-14 11:35:44 +00:00
blob make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
blobfs make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
env_dpdk make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
event lib/thread: Add busy count for poller to increment only when some work was done 2020-04-09 13:44:14 +00:00
sock posix: Add the socket into pending_recv list if migrated from another polling group. 2020-04-08 06:43:56 +00:00
Makefile global: rename copy to accel 2020-02-18 08:05:34 +00:00