Scroll to navigation

libnvme(9) API Manual libnvme(9)

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

SSNS Descriptor Index in the descriptor list.
Primary Discovery Controller associated with this SSNS Descriptor.
Security Profile Descriptor associated with this namespace.
Number of 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 Type string (e.g. 'tcp').
Subsystem Transport Address.
Subsystem Transport Service Identifier.
The Subsystem Port ID.
The Namespace ID of this descriptor or when nid should be used instead.
Namespace Identifier Type, see enum libnbft_nid_type.
The Namespace Identifier value.
Subsystem and Namespace NQN.
Transport Specific Flags bitmask, see enum nbft_ssns_trflags.
Controller ID (SSNS Extended Information Descriptor): The controller ID associated with the Admin Queue or 0 if not supported.
Admin Submission Queue Size (SSNS Extended Information Descriptor) or 0 if not supported.
DHCP Root Path Override string (SSNS Extended Information Descriptor).
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.
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.
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).
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.
SSNS Flags bitmask, see enum nbft_ssns_flags.
struct libnbft_subsystem_ns July 2026