eb5a111398
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> |
||
---|---|---|
.. | ||
idxd_spec.h | ||
idxd_user.c | ||
idxd.c | ||
idxd.h | ||
Makefile | ||
spdk_idxd.map |