spdk_nvme_transport_id Struct Reference

NVMe transport identifier. More...

Data Fields

enum spdk_nvme_transport_type trtype
 NVMe transport type.
 
enum spdk_nvmf_adrfam adrfam
 Address family of the transport address. More...
 
char traddr [SPDK_NVMF_TRADDR_MAX_LEN+1]
 Transport address of the NVMe-oF endpoint. More...
 
char trsvcid [SPDK_NVMF_TRSVCID_MAX_LEN+1]
 Transport service id of the NVMe-oF endpoint. More...
 
char subnqn [SPDK_NVMF_NQN_MAX_LEN+1]
 Subsystem NQN of the NVMe over Fabrics endpoint. More...
 

Detailed Description

NVMe transport identifier.

This identifies a unique endpoint on an NVMe fabric.

A string representation of a transport ID may be converted to this type using spdk_nvme_transport_id_parse().

Field Documentation

◆ adrfam

enum spdk_nvmf_adrfam spdk_nvme_transport_id::adrfam

Address family of the transport address.

For PCIe, this value is ignored.

◆ subnqn

char spdk_nvme_transport_id::subnqn[SPDK_NVMF_NQN_MAX_LEN+1]

Subsystem NQN of the NVMe over Fabrics endpoint.

May be a zero length string.

◆ traddr

char spdk_nvme_transport_id::traddr[SPDK_NVMF_TRADDR_MAX_LEN+1]

Transport address of the NVMe-oF endpoint.

For transports which use IP addressing (e.g. RDMA), this should be an IP address. For PCIe, this can either be a zero length string (the whole bus) or a PCI address in the format DDDD:BB:DD.FF or DDDD.BB.DD.FF. For FC the string is formatted as: nn-0xWWNN:pn-0xWWPN” where WWNN is the Node_Name of the target NVMe_Port and WWPN is the N_Port_Name of the target NVMe_Port.

◆ trsvcid

char spdk_nvme_transport_id::trsvcid[SPDK_NVMF_TRSVCID_MAX_LEN+1]

Transport service id of the NVMe-oF endpoint.

For transports which use IP addressing (e.g. RDMA), this field shoud be the port number. For PCIe, and FC this is always a zero length string.


The documentation for this struct was generated from the following file: