Reference

libnbft_subsystem_ns-libnvme3(2)

Subsystem Namespace (SSNS) info

NAME

struct libnbft_subsystem_ns - Subsystem Namespace (SSNS) info

SYNOPSIS

struct libnbft_subsystem_ns {
int index;
struct libnbft_discovery *discovery;
struct libnbft_security *security;
int num_hfis;
struct libnbft_hfi **hfis;
char transport[8];
char traddr[40];
char *trsvcid;
__u16 subsys_port_id;
__u32 nsid;
enum libnbft_nid_type nid_type;
__u8 *nid;
char *subsys_nqn;
__u16 trflags;
int controller_id;
int asqsz;
char *dhcp_root_path_string;
__u8 naed;
__u8 cipeec;
__u16 cto;
__u8 nceec;
__u16 flags;
};

Members

index

SSNS Descriptor Index in the descriptor list.

discovery

Primary Discovery Controller associated with this SSNS Descriptor.

security

Security Profile Descriptor associated with this namespace.

num_hfis

Number of HFIs.

hfis

List of HFIs associated with this namespace. Includes the primary HFI at the first position and all secondary HFIs. This array is null-terminated.

transport

Transport Type string (e.g. 'tcp').

traddr

Subsystem Transport Address.

trsvcid

Subsystem Transport Service Identifier.

subsys_port_id

The Subsystem Port ID.

nsid

The Namespace ID of this descriptor or when nid should be used instead.

nid_type

Namespace Identifier Type, see enum libnbft_nid_type.

nid

The Namespace Identifier value.

subsys_nqn

Subsystem and Namespace NQN.

trflags

Transport Specific Flags bitmask, see enum nbft_ssns_trflags.

controller_id

Controller ID (SSNS Extended Information Descriptor): The controller ID associated with the Admin Queue or 0 if not supported.

asqsz

Admin Submission Queue Size (SSNS Extended Information Descriptor) or 0 if not supported.

dhcp_root_path_string

DHCP Root Path Override string (SSNS Extended Information Descriptor).

naed

Namespace Availability Enhanced Diagnostic (SSNS Extended Information Descriptor). Provides additional status codes from the pre-OS driver when the namespace is unavailable. See enum nbft_ssns_ext_info_naed for values. Zero indicates no additional information. Only present in NBFT rev. 1.1+, zero otherwise.

cipeec

Connect Invalid Parameters Extended Error Code (SSNS Extended Information Descriptor). Provides additional error detail when the pre-OS driver received a Connect Invalid Parameters status. See enum nbft_ssns_ext_info_cipeec for values. Zero indicates no extended error. Only present in NBFT rev. 1.1+, zero otherwise.

cto

Connection Timeout in seconds (SSNS Extended Information Descriptor). The timeout value used by the pre-OS driver for connecting to the object specified with this SSNS descriptor. A value of 0xFFFF indicates that no timeout was specified. Zero indicates either a timeout of zero seconds or that the field is not present (NBFT rev. 1.0).

nceec

Network and Connection Extended Error Code (SSNS Extended Information Descriptor). Provides error codes specific to network and connection errors encountered by the pre-OS driver. See enum nbft_ssns_ext_info_nceec for values. Zero indicates no extended error. Only present in NBFT rev. 1.1+, zero otherwise.

flags

SSNS Flags bitmask, see enum nbft_ssns_flags.