mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-24 17:23:25 -05:00
nvme-fabrics: Add FC transport error codes to nvme.h
Signed-off-by: James Smart <james.smart@broadcom.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jay Freyensee <james_p_freyensee@linux.intel.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
6ea76f33e9
commit
cba3bdfd2e
1 changed files with 13 additions and 0 deletions
|
@ -963,6 +963,19 @@ enum {
|
||||||
NVME_SC_ACCESS_DENIED = 0x286,
|
NVME_SC_ACCESS_DENIED = 0x286,
|
||||||
|
|
||||||
NVME_SC_DNR = 0x4000,
|
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,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct nvme_completion {
|
struct nvme_completion {
|
||||||
|
|
Loading…
Add table
Reference in a new issue