NVMe-oF target namespace creation options. More...
#include <nvmf.h>
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_val * | transport_specific |
bool | hide_metadata |
Enable hide_metadata option to the bdev. | |
NVMe-oF target namespace creation options.
uint32_t spdk_nvmf_ns_opts::anagrpid |
ANA group ID.
Set to be equal with the NSID if not specified.
uint8_t spdk_nvmf_ns_opts::eui64[8] |
IEEE Extended Unique Identifier.
Fill with 0s if not specified.
uint8_t spdk_nvmf_ns_opts::nguid[16] |
Namespace Globally Unique Identifier.
Fill with 0s if not specified.
bool spdk_nvmf_ns_opts::no_auto_visible |
Do not automatically make namespace visible to controllers.
False if not specified
uint32_t spdk_nvmf_ns_opts::nsid |
Namespace ID.
Set to 0 to automatically assign a free NSID.
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.
struct spdk_uuid spdk_nvmf_ns_opts::uuid |
Namespace UUID.
Fill with 0s if not specified.