Loading
lib/accel: rework UT for code reuse
Moved frequenty used stack vars to globals and added setup and teardown functions. Should be useful in upcoming patches as well wrt code savings. Signed-off-by:paul luse <paul.e.luse@intel.com> Change-Id: I468bec8856c354fcc954628e4e733594a6580104 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7013 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Monica Kenguva <monica.kenguva@intel.com> Reviewed-by:
Ziye Yang <ziye.yang@intel.com>