---
name: "nvmf_disc_log_entry"
section: "2"
platform: "linux"
package: "libnvme-dev"
version: "1.13-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/nvmf_disc_log_entry"
---

# nvmf\_disc\_log\_entry(2)

Discovery Log Page entry

## NAME

struct nvmf\_disc\_log\_entry - Discovery Log Page entry

## SYNOPSIS

struct nvmf\_disc\_log\_entry {\
     **\_\_u8 trtype;**\
     **\_\_u8 adrfam;**\
     **\_\_u8 subtype;**\
     **\_\_u8 treq;**\
     **\_\_le16 portid;**\
     **\_\_le16 cntlid;**\
     **\_\_le16 asqsz;**\
     **\_\_le16 eflags;**\
     **\_\_u8 rsvd12\[20\];**\
     **char trsvcid\[NVMF\_TRSVCID\_SIZE\];**\
     **\_\_u8 rsvd64\[192\];**\
     **char subnqn\[NVME\_NQN\_LENGTH\];**\
     **char traddr\[NVMF\_TRADDR\_SIZE\];**\
     **union nvmf\_tsas tsas;**\
 };\

## Members

- trtype

  Transport Type (TRTYPE): Specifies the NVMe Transport type. See *enum nvmf\_trtype*.

- adrfam

  Address Family (ADRFAM): Specifies the address family. See *enum nvmf\_addr\_family*.

- subtype

  Subsystem Type (SUBTYPE): Specifies the type of the NVM subsystem that is indicated in this entry. See *enum nvme\_subsys\_type*.

- treq

  Transport Requirements (TREQ): Indicates requirements for the NVMe Transport. See *enum nvmf\_treq*.

- portid

  Port ID (PORTID): Specifies a particular NVM subsystem port. Different NVMe Transports or address families may utilize the same Port ID value (e.g. a Port ID may support both iWARP and RoCE).

- cntlid

  Controller ID (CNTLID): Specifies the controller ID. If the NVM subsystem uses a dynamic controller model, then this field shall be set to FFFFh. If the NVM subsystem uses a static controller model, then this field may be set to a specific controller ID (values 0h to FFEFh are valid). If the NVM subsystem uses a static controller model and the value indicated is FFFEh, then the host should remember the Controller ID returned as part of the Fabrics Connect command in order to re-establish an association in the future with the same controller.

- asqsz

  Admin Max SQ Size (ASQSZ): Specifies the maximum size of an Admin Submission Queue. This applies to all controllers in the NVM subsystem. The value shall be a minimum of 32 entries.

- eflags

  Entry Flags (EFLAGS): Indicates additional information related to the current entry. See *enum nvmf\_disc\_eflags*.

- rsvd12

  Reserved

- trsvcid

  Transport Service Identifier (TRSVCID): Specifies the NVMe Transport service identifier as an ASCII string. The NVMe Transport service identifier is specified by the associated NVMe Transport binding specification.

- rsvd64

  Reserved

- subnqn

  NVM Subsystem Qualified Name (SUBNQN): NVMe Qualified Name (NQN) that uniquely identifies the NVM subsystem. For a subsystem, if that Discovery subsystem has a unique NQN (i.e., the NVM Subsystem NVMe Qualified Name (SUBNQN) field in that Discovery subsystem's Identify Controller data structure contains a unique NQN value), then the value returned shall be that unique NQN. If the Discovery subsystem does not have a unique NQN, then the value returned shall be the well-known Discovery Service NQN (nqn.2014-08.org.nvmexpress.discovery).

- traddr

  Transport Address (TRADDR): Specifies the address of the NVM subsystem that may be used for a Connect command as an ASCII string. The Address Family field describes the reference for parsing this field.

- tsas

  Transport specific attribute settings
