numam-spdk/lib/idxd
paul luse eb5a111398 lib/idxd: move the crc destination * from the desc to comp record
Was using reserved field in CRC to store the final address of where
to put the result, this not legal.  Move to the completion record
and slightly re-arrange the struct to keep it at 96 bytes.

Refacorted the IO prep function so the caller can udpate both the
descriptor and completion records instead of continuing to add
parameters to the prep function for opcodes that need something
unique in the completion record.  This also allowed for a minor
fix where the prep function was returning NULL when vtophys failed
which would have indicated busy as opposed to failire.  Now we can
proprely fail that path.

fixes #1929

Signed-off-by: paul luse <paul.e.luse@intel.com>
Change-Id: Ic23bc7b68bdd5757c30b7963880677f423368e20
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7735
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-05-22 18:42:35 +00:00
..
idxd_spec.h idxd: Update the definition of register according to the new spec. 2021-04-15 04:35:09 +00:00
idxd_user.c idxd: Do not present pci device info in accel_engine_idxd.c module 2021-05-10 11:12:40 +00:00
idxd.c lib/idxd: move the crc destination * from the desc to comp record 2021-05-22 18:42:35 +00:00
idxd.h lib/idxd: move the crc destination * from the desc to comp record 2021-05-22 18:42:35 +00:00
Makefile idxd: update the major so version for libspdk_idxd 2021-05-07 15:03:44 +00:00
spdk_idxd.map idxd: simplification in re-balancing channels 2021-02-05 13:42:32 +00:00