Commit 61539989 authored by James Smart's avatar James Smart Committed by Jens Axboe

nvme-fc: Sync header to FC-NVME-2 rev 1.08

A couple of minor changes occurred between 1.06 and 1.08:
- Addition of NVME_SR_RSP opcode
- change of SR_RSP status code 1 to Reserved
Signed-off-by: default avatarJames Smart <jsmart2021@gmail.com>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarHimanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: default avatarHannes Reinecke <hare@suse.de>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent af00423a
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
*/ */
/* /*
* This file contains definitions relative to FC-NVME-2 r1.06 * This file contains definitions relative to FC-NVME-2 r1.08
* (T11-2019-00210-v001). * (T11-2019-00210-v004).
*/ */
#ifndef _NVME_FC_H #ifndef _NVME_FC_H
...@@ -81,7 +81,8 @@ struct nvme_fc_ersp_iu { ...@@ -81,7 +81,8 @@ struct nvme_fc_ersp_iu {
}; };
#define FCNVME_NVME_SR_OPCODE 0x01 #define FCNVME_NVME_SR_OPCODE 0x01
#define FCNVME_NVME_SR_RSP_OPCODE 0x02
struct nvme_fc_nvme_sr_iu { struct nvme_fc_nvme_sr_iu {
__u8 fc_id; __u8 fc_id;
...@@ -94,7 +95,7 @@ struct nvme_fc_nvme_sr_iu { ...@@ -94,7 +95,7 @@ struct nvme_fc_nvme_sr_iu {
enum { enum {
FCNVME_SRSTAT_ACC = 0x0, FCNVME_SRSTAT_ACC = 0x0,
FCNVME_SRSTAT_INV_FCID = 0x1, /* reserved 0x1 */
/* reserved 0x2 */ /* reserved 0x2 */
FCNVME_SRSTAT_LOGICAL_ERR = 0x3, FCNVME_SRSTAT_LOGICAL_ERR = 0x3,
FCNVME_SRSTAT_INV_QUALIF = 0x4, FCNVME_SRSTAT_INV_QUALIF = 0x4,
...@@ -397,7 +398,7 @@ struct fcnvme_ls_disconnect_conn_rqst { ...@@ -397,7 +398,7 @@ struct fcnvme_ls_disconnect_conn_rqst {
struct fcnvme_ls_rqst_w0 w0; struct fcnvme_ls_rqst_w0 w0;
__be32 desc_list_len; __be32 desc_list_len;
struct fcnvme_lsdesc_assoc_id associd; struct fcnvme_lsdesc_assoc_id associd;
struct fcnvme_lsdesc_disconn_cmd connectid; struct fcnvme_lsdesc_conn_id connectid;
}; };
struct fcnvme_ls_disconnect_conn_acc { struct fcnvme_ls_disconnect_conn_acc {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment