nvme-fabrics: Add FC transport error codes to nvme.h
PATCH v3 2/7 nvme-fabrics: Add FC transport error codes to nvme.h
Add FC transport error codes to nvme.h
Signed-off-by James Smart <james.smart at broadcom.com>
--- include/linux/nvme.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
include/linux/nvme.h +20 -0
@@ -943,6 +943,26 @@ enum {NVME_SC_ACCESS_DENIED =0x286 ,NVME_SC_DNR =0x4000 , + + +/* +* FC Transport-specific error status values for NVME commands +* +* Transport-specific status code values must be in the range 0xB0..0xBF +*/ + +/* Generic FC failure - catchall */ +NVME_SC_FC_TRANSPORT_ERROR =0x00B0 , + +/* I/O failure due to FC ABTS'd */ +NVME_SC_FC_TRANSPORT_ABORTED =0x00B1 , + +/* IU format error */ +NVME_SC_FC_FORMAT =0x00B2 , + +/* NVME Completion did not contain original CMDID */ + NVME_SC_FC_CMDID_MISMATCH = 0x00B3, + }; struct nvme_completion {
Signature · 1 line
2.5.0
PATCH v3 2/7 nvme-fabrics: Add FC transport error codes to nvme.h
Looks fine,
Reviewed-by Christoph Hellwig <hch at lst.de>
PATCH v3 2/7 nvme-fabrics: Add FC transport error codes to nvme.h
Quoted 4 lines · Christoph Hellwig
Looks fine,
Reviewed-by Christoph Hellwig <hch at lst.de>
Also looks fine,
Reviewed-by Jay Freyensee <james_p_freyensee at linux.intel.com>
Quoted 4 lines
_______________________________________________
Linux-nvme mailing list
Linux-nvme at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme