File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,9 @@ static inline const char *adrfam_str(__u8 adrfam)
143143}
144144
145145static const char * const subtypes [] = {
146- [NVME_NQN_DISC ] = "discovery subsystem" ,
146+ [NVME_NQN_DISC ] = "discovery subsystem referral " ,
147147 [NVME_NQN_NVME ] = "nvme subsystem" ,
148+ [NVME_NQN_CURR ] = "current subsystem" ,
148149};
149150
150151static inline const char * subtype_str (__u8 subtype )
@@ -1172,6 +1173,7 @@ static int connect_ctrl(struct nvmf_disc_rsp_page_entry *e)
11721173
11731174 switch (e -> subtype ) {
11741175 case NVME_NQN_DISC :
1176+ case NVME_NQN_CURR :
11751177 discover = true;
11761178 case NVME_NQN_NVME :
11771179 break ;
Original file line number Diff line number Diff line change @@ -75,8 +75,9 @@ static inline uint64_t le64_to_cpu(__le64 x)
7575#define NVME_NSID_ALL 0xffffffff
7676
7777enum nvme_subsys_type {
78- NVME_NQN_DISC = 1 , /* Discovery type target subsystem */
78+ NVME_NQN_DISC = 1 , /* Referral Discovery type target subsystem */
7979 NVME_NQN_NVME = 2 , /* NVME type target subsystem */
80+ NVME_NQN_CURR = 3 , /* Current Discovery type target subsystem */
8081};
8182
8283/* Address Family codes for Discovery Log Page entry ADRFAM field */
You can’t perform that action at this time.
0 commit comments