Commit f48377ce authored by paul luse's avatar paul luse Committed by Tomasz Zawadzki
Browse files

lib/idxd: update decompression flags



Per spec to assure correct operation of IAA decompression.

Signed-off-by: default avatarpaul luse <paul.e.luse@intel.com>
Change-Id: I745c5ecc09d220017a8da42b52f4ff7caa5e748c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14660


Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent a33ae74c
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -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.