50a438d3bc
The specification states that opcode is not valid when the status is not success. Instead, keep track of the operation type ourselves. Change-Id: I60af4b35e761c46f5f296a61cedfca198836197f Signed-off-by: Ben Walker <benjamin.walker@intel.com> Co-authored-by: Evgeniy Kochetov <evgeniik@mellanox.com> Reviewed-on: https://review.gerrithub.io/430865 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Sasha Kotchubievsky <sashakot@mellanox.com> Reviewed-by: Seth Howell <seth.howell5141@gmail.com>