Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: James Smart <jsmart2021@gmail.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Himanshu Madhani <himanshu.madhani@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

James Smart and committed by
Jens Axboe
61539989 af00423a

+6 -5
+6 -5
include/linux/nvme-fc.h
··· 4 4 */ 5 5 6 6 /* 7 - * This file contains definitions relative to FC-NVME-2 r1.06 8 - * (T11-2019-00210-v001). 7 + * This file contains definitions relative to FC-NVME-2 r1.08 8 + * (T11-2019-00210-v004). 9 9 */ 10 10 11 11 #ifndef _NVME_FC_H ··· 81 81 }; 82 82 83 83 84 - #define FCNVME_NVME_SR_OPCODE 0x01 84 + #define FCNVME_NVME_SR_OPCODE 0x01 85 + #define FCNVME_NVME_SR_RSP_OPCODE 0x02 85 86 86 87 struct nvme_fc_nvme_sr_iu { 87 88 __u8 fc_id; ··· 95 94 96 95 enum { 97 96 FCNVME_SRSTAT_ACC = 0x0, 98 - FCNVME_SRSTAT_INV_FCID = 0x1, 97 + /* reserved 0x1 */ 99 98 /* reserved 0x2 */ 100 99 FCNVME_SRSTAT_LOGICAL_ERR = 0x3, 101 100 FCNVME_SRSTAT_INV_QUALIF = 0x4, ··· 398 397 struct fcnvme_ls_rqst_w0 w0; 399 398 __be32 desc_list_len; 400 399 struct fcnvme_lsdesc_assoc_id associd; 401 - struct fcnvme_lsdesc_disconn_cmd connectid; 400 + struct fcnvme_lsdesc_conn_id connectid; 402 401 }; 403 402 404 403 struct fcnvme_ls_disconnect_conn_acc {