@@ -4635,17 +4635,27 @@ enum nvme_subsys_type {
46354635 * this flag set.
46364636 * @NVMF_DISC_EFLAGS_EPCSD: Explicit Persistent Connection Support for Discovery (EPCSD):
46374637 * Indicates that Explicit Persistent Connections are
4638- * supported for the Discovery controller.
4639- * @NVMF_DISC_EFLAGS_BOTH: Indicates that both the DUPRETINFO and EPCSD
4640- * features are supported.
4638+ * supported for the Discovery controller.
4639+ * @NVMF_DISC_EFLAGS_NCC: No CDC Connectivity (NCC): If set to
4640+ * '1', then no DDC that describes this entry
4641+ * is currently connected to the CDC. If
4642+ * cleared to '0', then at least one DDC that
4643+ * describes this entry is currently
4644+ * connected to the CDC. If the Discovery
4645+ * controller returning this log page is not
4646+ * a CDC, then this bit shall be cleared to
4647+ * '0' and should be ignored by the host.
46414648 */
46424649enum nvmf_disc_eflags {
46434650 NVMF_DISC_EFLAGS_NONE = 0 ,
4644- NVMF_DISC_EFLAGS_DUPRETINFO = 1 ,
4645- NVMF_DISC_EFLAGS_EPCSD = 2 ,
4646- NVMF_DISC_EFLAGS_BOTH = 3 ,
4651+ NVMF_DISC_EFLAGS_DUPRETINFO = 1 << 0 ,
4652+ NVMF_DISC_EFLAGS_EPCSD = 1 << 1 ,
4653+ NVMF_DISC_EFLAGS_NCC = 1 << 2 ,
46474654};
46484655
4656+ /* Backwards compatibility. Will be removed with next major release */
4657+ #define NVMF_DISC_EFLAGS_BOTH (NVMF_DISC_EFLAGS_DUPRETINFO | NVMF_DISC_EFLAGS_EPCSD)
4658+
46494659/**
46504660 * union nvmf_tsas - Transport Specific Address Subtype
46514661 * @common: Common transport specific attributes
0 commit comments