Skip to content

Commit

Permalink
doc: Regenerate all docs for v1.5
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Wagner <dwagner@suse.de>
  • Loading branch information
igaw committed Jun 30, 2023
1 parent ce40bea commit 4fea83d
Show file tree
Hide file tree
Showing 803 changed files with 5,029 additions and 761 deletions.
2 changes: 1 addition & 1 deletion doc/conf.py
Expand Up @@ -12,7 +12,7 @@
author = 'Keith Busch <kbusch@kernel.org>'
master_doc = 'index'

release = '1.4'
release = '1.5'


# -- General configuration ---------------------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions doc/config-schema.json
Expand Up @@ -59,6 +59,10 @@
"type": "array",
"items": { "$ref": "#/$defs/port" }
},
"application": {
"description": "Program managing this subsystem",
"type": "string"
},
"required": [ "nqn" ]
}
},
Expand Down
169 changes: 169 additions & 0 deletions doc/man/nbft_control.2
@@ -0,0 +1,169 @@
.TH "libnvme" 9 "struct nbft_control" "June 2023" "API Manual" LINUX
.SH NAME
struct nbft_control \- NBFT Table - Control Descriptor (Figure 8)
.SH SYNOPSIS
struct nbft_control {
.br
.BI " __u8 structure_id;"
.br
.BI " __u8 major_revision;"
.br
.BI " __u8 minor_revision;"
.br
.BI " __u8 reserved1;"
.br
.BI " __le16 csl;"
.br
.BI " __u8 flags;"
.br
.BI " __u8 reserved2;"
.br
.BI " struct nbft_heap_obj hdesc;"
.br
.BI " __u8 hsv;"
.br
.BI " __u8 reserved3;"
.br
.BI " __le32 hfio;"
.br
.BI " __le16 hfil;"
.br
.BI " __u8 hfiv;"
.br
.BI " __u8 num_hfi;"
.br
.BI " __le32 ssnso;"
.br
.BI " __le16 ssnsl;"
.br
.BI " __u8 ssnsv;"
.br
.BI " __u8 num_ssns;"
.br
.BI " __le32 seco;"
.br
.BI " __le16 secl;"
.br
.BI " __u8 secv;"
.br
.BI " __u8 num_sec;"
.br
.BI " __le32 disco;"
.br
.BI " __le16 discl;"
.br
.BI " __u8 discv;"
.br
.BI " __u8 num_disc;"
.br
.BI " __u8 reserved4[16];"
.br
.BI "
};
.br

.SH Members
.IP "structure_id" 12
Structure ID: This field specifies the element (refer to
\fIenum nbft_desc_type\fP). This field shall be set to 1h (i.e.,
Control, #NBFT_DESC_CONTROL).
.IP "major_revision" 12
Major Revision: The major revision of the structure corresponding
to the Signature field. Larger major revision numbers should
not be assumed backward compatible to lower major revision
numbers with the same signature.
.IP "minor_revision" 12
Minor Revision: The minor revision of the structure corresponding
to the signature field. If the major revision numbers are
the same, any minor revision number differences shall be backwards
compatible with the same signature.
.IP "reserved1" 12
Reserved.
.IP "csl" 12
Control Structure Length (CSL): This field indicates the length
in bytes of the Control Descriptor.
.IP "flags" 12
Flags, see \fIenum nbft_control_flags\fP.
.IP "reserved2" 12
Reserved.
.IP "hdesc" 12
Host Descriptor (HDESC): This field indicates the location
and length of the Host Descriptor (see \fIstruct nbft_host\fP).
.IP "hsv" 12
Host Descriptor Version (HSV): This field indicates the version
of the Host Descriptor.
.IP "reserved3" 12
Reserved.
.IP "hfio" 12
HFI Descriptor List Offset (HFIO): If this field is set to
a non-zero value, then this field indicates the offset in bytes
of the HFI Descriptor List, if any, from byte offset 0h of the
NBFT Table Header. If the \fInum_hfi\fP field is cleared to 0h,
then this field is reserved.
.IP "hfil" 12
HFI Descriptor Length (HFIL): This field indicates the length
in bytes of each HFI Descriptor, if any. If the \fInum_hfi\fP field
is cleared to 0h, then this field is reserved.
.IP "hfiv" 12
HFI Descriptor Version (HFIV): This field indicates the version
of each HFI Descriptor.
.IP "num_hfi" 12
Number of Host Fabric Interface Descriptors (NumHFI): This field
indicates the number of HFI Descriptors (see \fIstruct nbft_hfi\fP)
in the HFI Descriptor List, if any. If no interfaces have been
configured, then this field shall be cleared to 0h.
.IP "ssnso" 12
SSNS Descriptor List Offset (SSNSO):: This field indicates
the offset in bytes of the SSNS Descriptor List, if any, from
byte offset 0h of the NBFT Table Header. If the \fInum_ssns\fP field
is cleared to 0h, then this field is reserved.
.IP "ssnsl" 12
SSNS Descriptor Length (SSNSL): This field indicates the length
in bytes of each SSNS Descriptor, if any. If the \fInum_ssns\fP
field is cleared to 0h, then this field is reserved.
.IP "ssnsv" 12
SSNS Descriptor Version (SSNSV): This field indicates the version
of the SSNS Descriptor.
.IP "num_ssns" 12
Number of Subsystem and Namespace Descriptors (NumSSNS): This
field indicates the number of Subsystem Namespace (SSNS)
Descriptors (see \fIstruct nbft_ssns\fP) in the SSNS Descriptor List,
if any.
.IP "seco" 12
Security Profile Descriptor List Offset (SECO): This field
indicates the offset in bytes of the Security Profile Descriptor
List, if any, from byte offset 0h of the NBFT Table Header.
If the \fInum_sec\fP field is cleared to 0h, then this field
is reserved.
.IP "secl" 12
Security Profile Descriptor Length (SECL): This field indicates
the length in bytes of each Security Profile Descriptor, if any.
If the \fInum_sec\fP field is cleared to 0h, then this field
is reserved.
.IP "secv" 12
Security Profile Descriptor Version (SECV): This field indicates
the version of the Security Profile Descriptor.
.IP "num_sec" 12
Number of Security Profile Descriptors (NumSec): This field
indicates the number of Security Profile Descriptors
(see \fIstruct nbft_security\fP), if any, in the Security Profile
Descriptor List.
.IP "disco" 12
Discovery Descriptor Offset (DISCO): This field indicates
the offset in bytes of the Discovery Descriptor List, if any,
from byte offset 0h of the NBFT Table Header. If the \fInum_disc\fP
field is cleared to 0h, then this field is reserved.
.IP "discl" 12
Discovery Descriptor Length (DISCL): This field indicates
the length in bytes of each Discovery Descriptor, if any.
If the \fInum_disc\fP field is cleared to 0h, then this field
is reserved.
.IP "discv" 12
Discovery Descriptor Version (DISCV): This field indicates
the version of the Discovery Descriptor.
.IP "num_disc" 12
Number of Discovery Descriptors (NumDisc): This field indicates
the number of Discovery Descriptors (see \fIstruct nbft_discovery\fP),
if any, in the Discovery Descriptor List, if any.
.IP "reserved4" 12
Reserved.
12 changes: 12 additions & 0 deletions doc/man/nbft_control_flags.2
@@ -0,0 +1,12 @@
.TH "libnvme" 9 "enum nbft_control_flags" "June 2023" "API Manual" LINUX
.SH NAME
enum nbft_control_flags \- Control Descriptor Flags
.SH SYNOPSIS
enum nbft_control_flags {
.br
.BI " NBFT_CONTROL_VALID"

};
.SH Constants
.IP "NBFT_CONTROL_VALID" 12
Block Valid: indicates that the structure is valid.
74 changes: 74 additions & 0 deletions doc/man/nbft_desc_type.2
@@ -0,0 +1,74 @@
.TH "libnvme" 9 "enum nbft_desc_type" "June 2023" "API Manual" LINUX
.SH NAME
enum nbft_desc_type \- NBFT Elements - Descriptor Types (Figure 5)
.SH SYNOPSIS
enum nbft_desc_type {
.br
.BI " NBFT_DESC_HEADER"
,
.br
.br
.BI " NBFT_DESC_CONTROL"
,
.br
.br
.BI " NBFT_DESC_HOST"
,
.br
.br
.BI " NBFT_DESC_HFI"
,
.br
.br
.BI " NBFT_DESC_SSNS"
,
.br
.br
.BI " NBFT_DESC_SECURITY"
,
.br
.br
.BI " NBFT_DESC_DISCOVERY"
,
.br
.br
.BI " NBFT_DESC_HFI_TRINFO"
,
.br
.br
.BI " NBFT_DESC_RESERVED_8"
,
.br
.br
.BI " NBFT_DESC_SSNS_EXT_INFO"

};
.SH Constants
.IP "NBFT_DESC_HEADER" 12
Header: an ACPI structure header with some additional
NBFT specific info.
.IP "NBFT_DESC_CONTROL" 12
Control Descriptor: indicates the location of host,
HFI, SSNS, security, and discovery descriptors.
.IP "NBFT_DESC_HOST" 12
Host Descriptor: host information.
.IP "NBFT_DESC_HFI" 12
HFI Descriptor: an indexable table of HFI Descriptors,
one for each fabric interface on the host.
.IP "NBFT_DESC_SSNS" 12
Subsystem Namespace Descriptor: an indexable table
of SSNS Descriptors.
.IP "NBFT_DESC_SECURITY" 12
Security Descriptor: an indexable table of Security
descriptors.
.IP "NBFT_DESC_DISCOVERY" 12
Discovery Descriptor: an indexable table of Discovery
Descriptors.
.IP "NBFT_DESC_HFI_TRINFO" 12
HFI Transport Descriptor: indicated by an HFI Descriptor,
corresponds to a specific transport for a single HFI.
.IP "NBFT_DESC_RESERVED_8" 12
Reserved.
.IP "NBFT_DESC_SSNS_EXT_INFO" 12
SSNS Extended Info Descriptor: indicated by an SSNS
Descriptor if required.
71 changes: 71 additions & 0 deletions doc/man/nbft_discovery.2
@@ -0,0 +1,71 @@
.TH "libnvme" 9 "struct nbft_discovery" "June 2023" "API Manual" LINUX
.SH NAME
struct nbft_discovery \- Discovery Descriptor (Figure 24)
.SH SYNOPSIS
struct nbft_discovery {
.br
.BI " __u8 structure_id;"
.br
.BI " __u8 flags;"
.br
.BI " __u8 index;"
.br
.BI " __u8 hfi_index;"
.br
.BI " __u8 sec_index;"
.br
.BI " __u8 reserved1;"
.br
.BI " struct nbft_heap_obj discovery_ctrl_addr_obj;"
.br
.BI " struct nbft_heap_obj discovery_ctrl_nqn_obj;"
.br
.BI " __u8 reserved2[14];"
.br
.BI "
};
.br

.SH Members
.IP "structure_id" 12
Structure ID: This field shall be set to 6h
(i.e., Discovery Descriptor; #NBFT_DESC_DISCOVERY).
.IP "flags" 12
Discovery Descriptor Flags, see \fIenum nbft_discovery_flags\fP.
.IP "index" 12
Discovery Descriptor Index: This field indicates
the number of this Discovery Descriptor in
the Discovery Descriptor List.
.IP "hfi_index" 12
HFI Descriptor Index: This field indicates the value
of the HFI Descriptor Index field of the HFI Descriptor
associated with this Discovery Descriptor. If multiple
HFIs share a common Discovery controller, there shall
be multiple Discovery Descriptor entries with one per HFI.
.IP "sec_index" 12
Security Profile Descriptor Index: This field indicates
the value of the Security Profile Descriptor Index
field of the Security Descriptor associated with
this Discovery Descriptor.
.IP "reserved1" 12
Reserved.
.IP "discovery_ctrl_addr_obj" 12
Discovery Controller Address Heap Object Reference:
This field indicates the location and size of a heap
object containing a URI which indicates an NVMe Discovery
controller associated with this Discovery Descriptor.
If this field is cleared to 0h, then no URI is specified.
.IP "discovery_ctrl_nqn_obj" 12
Discovery Controller NQN Heap Object Reference:
If set to a non-zero value, this field indicates
the location and size of a heap object containing
an NVMe Discovery controller NQN. If the NVMe Discovery
controller referenced by this record requires secure
authentication with a well known Subsystem NQN, this
field indicates the unique NQN for that NVMe Discovery
controller. This record is involved formatted as an NQN
string. If this field is cleared to 0h, then this
field is reserved and the OS shall use the well
known discovery NQN for this record.
.IP "reserved2" 12
Reserved.
14 changes: 14 additions & 0 deletions doc/man/nbft_discovery_flags.2
@@ -0,0 +1,14 @@
.TH "libnvme" 9 "enum nbft_discovery_flags" "June 2023" "API Manual" LINUX
.SH NAME
enum nbft_discovery_flags \- Discovery Descriptor Flags
.SH SYNOPSIS
enum nbft_discovery_flags {
.br
.BI " NBFT_DISCOVERY_VALID"

};
.SH Constants
.IP "NBFT_DISCOVERY_VALID" 12
Descriptor Valid: if set to 1h, then this descriptor
is valid. If cleared to 0h, then this descriptor
is reserved.

0 comments on commit 4fea83d

Please sign in to comment.