Loading...
Searching...
No Matches
spdk_nvmf_ns_opts Struct Reference

NVMe-oF target namespace creation options. More...

#include <nvmf.h>

Collaboration diagram for spdk_nvmf_ns_opts:

Data Fields

uint32_t nsid
 Namespace ID.
 
uint8_t nguid [16]
 Namespace Globally Unique Identifier.
 
uint8_t eui64 [8]
 IEEE Extended Unique Identifier.
 
struct spdk_uuid uuid
 Namespace UUID.
 
uint8_t reserved44 [4]
 
size_t opts_size
 The size of spdk_nvmf_ns_opts according to the caller of this library is used for ABI compatibility.
 
uint32_t anagrpid
 ANA group ID.
 
bool no_auto_visible
 Do not automatically make namespace visible to controllers.
 
uint8_t reserved61 [3]
 
const struct spdk_json_valtransport_specific
 

Detailed Description

NVMe-oF target namespace creation options.

Field Documentation

◆ anagrpid

uint32_t spdk_nvmf_ns_opts::anagrpid

ANA group ID.

Set to be equal with the NSID if not specified.

◆ eui64

uint8_t spdk_nvmf_ns_opts::eui64[8]

IEEE Extended Unique Identifier.

Fill with 0s if not specified.

◆ nguid

uint8_t spdk_nvmf_ns_opts::nguid[16]

Namespace Globally Unique Identifier.

Fill with 0s if not specified.

◆ no_auto_visible

bool spdk_nvmf_ns_opts::no_auto_visible

Do not automatically make namespace visible to controllers.

False if not specified

◆ nsid

uint32_t spdk_nvmf_ns_opts::nsid

Namespace ID.

Set to 0 to automatically assign a free NSID.

◆ opts_size

size_t spdk_nvmf_ns_opts::opts_size

The size of spdk_nvmf_ns_opts according to the caller of this library is used for ABI compatibility.

The library uses this field to know how many fields in this structure are valid. And the library will populate any remaining fields with default values. New added fields should be put at the end of the struct.

◆ uuid

struct spdk_uuid spdk_nvmf_ns_opts::uuid

Namespace UUID.

Fill with 0s if not specified.


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