+157
−13
Loading
Add DIF insert/strip into the generic bdev layer. Use bounce buffer if I/O allcates it regardless that I/O is not aware of metadata. Allocate and use bounce buffer if I/O is not aware of metadata, and it does not use memory domain or bdev module does not support accel sequence. Allocate and use accel buffer if I/O uses memory domain, bdev module supports accel sequence, and I/O is not aware of metadata. When accel buffer is used, join the existing code path to pull data. Signed-off-by:Shuhei Matsumoto <smatsumoto@nvidia.com> Change-Id: I057d64ab4a1f48c838e1cddd08f3e12cc595817b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25087 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Community-CI: Mellanox Build Bot Reviewed-by:
Aleksey Marchuk <alexeymar@nvidia.com>