Spdk/lib/idxd
paul luse e026ec21b8 idxd: zero out descriptor before use
To avoid re-use of descriptors that may have fields set that are
reserved by the one being used now.  For example:

If a batch desc is being built and was previously used by a copy
we need to clear out the dst_addr field or things will explode
as this is a reserved field for a batch.

Signed-off-by: paul luse <paul.e.luse@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11308 (master)

(cherry picked from commit 057fdedbff)
Change-Id: I6ba50b76589e38a276683291f5ec2970c80e8aa8
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11323
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
2022-06-30 13:32:31 -04:00
..
idxd_kernel.c spelling: lib 2022-06-30 13:32:28 -04:00
idxd_user.c idxd: updates to WQ config routine to match updated spec 2022-06-30 13:32:31 -04:00
idxd.c idxd: zero out descriptor before use 2022-06-30 13:32:31 -04:00
idxd.h idxd: fix issue w/multiple WQ config 2022-06-30 13:32:31 -04:00
Makefile idxd: Add support for vectored copy operations 2022-06-30 13:32:30 -04:00
spdk_idxd.map idxd: Remove spdk_idxd_chan_get_max_operations 2022-06-30 13:32:31 -04:00