lib/idxd: update decompression flags

Per spec to assure correct operation of IAA decompression.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: I745c5ecc09d220017a8da42b52f4ff7caa5e748c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14660
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
paul luse 2022-09-23 08:58:23 -07:00 committed by Tomasz Zawadzki
parent a33ae74ce4
commit f48377cea1

View File

@ -43,7 +43,13 @@ extern "C" {
#define IAA_COMP_APPEND_EOB (1 << 2)
#define IAA_COMP_FLAGS (IAA_COMP_FLUSH_OUTPUT | IAA_COMP_APPEND_EOB)
#define IAA_DECOMP_ENABLE (1 << 0)
#define IAA_DECOMP_FLAGS (IAA_DECOMP_ENABLE)
#define IAA_DECOMP_FLUSH_OUTPUT (1 << 1)
#define IAA_DECOMP_CHECK_FOR_EOB (1 << 2)
#define IAA_DECOMP_STOP_ON_EOB (1 << 3)
#define IAA_DECOMP_FLAGS (IAA_DECOMP_ENABLE | \
IAA_DECOMP_FLUSH_OUTPUT | \
IAA_DECOMP_CHECK_FOR_EOB | \
IAA_DECOMP_STOP_ON_EOB)
/*
* IDXD is a family of devices, DSA and IAA.