Loading...
Searching...
No Matches
spdk_nvme_transport_id Struct Reference

NVMe transport identifier. More...

#include <nvme.h>

Data Fields

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

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.

◆ priority

int spdk_nvme_transport_id::priority

The Transport connection priority of the NVMe-oF endpoint.

Currently this is only supported by posix based sock implementation on Kernel TCP stack. More information of this field can be found from the socket(7) man page.

◆ 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 should 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: