mirror of https://github.com/acidanthera/audk.git
MdePkg: Add definition for NVMe Over Fabric Device Path
In accordance with UEFI 2.10 Specification: Adding definition for NVMe Over Fabric (NVMe-oF) Device Path of Messaging Sub-Type. Cc: Felix Polyudov <felixp@ami.com> Cc: Dhanaraj V <vdhanaraj@ami.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Sachin Ganesh <sachinganesh@ami.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
parent
5cbfb93abe
commit
b04e11b4c4
|
@ -837,6 +837,26 @@ typedef struct {
|
||||||
UINT64 NamespaceUuid;
|
UINT64 NamespaceUuid;
|
||||||
} NVME_NAMESPACE_DEVICE_PATH;
|
} NVME_NAMESPACE_DEVICE_PATH;
|
||||||
|
|
||||||
|
///
|
||||||
|
/// NVMe over Fabric (NVMe-oF) Namespace Device Path SubType.
|
||||||
|
///
|
||||||
|
#define MSG_NVME_OF_NAMESPACE_DP 0x22
|
||||||
|
typedef struct {
|
||||||
|
EFI_DEVICE_PATH_PROTOCOL Header;
|
||||||
|
///
|
||||||
|
/// Namespace Identifier Type (NIDT)
|
||||||
|
///
|
||||||
|
UINT8 NamespaceIdType;
|
||||||
|
///
|
||||||
|
/// Namespace Identifier (NID)
|
||||||
|
///
|
||||||
|
UINT8 NamespaceId[16];
|
||||||
|
///
|
||||||
|
/// Unique identifier of an NVM subsystem
|
||||||
|
///
|
||||||
|
CHAR8 SubsystemNqn[];
|
||||||
|
} NVME_OF_NAMESPACE_DEVICE_PATH;
|
||||||
|
|
||||||
///
|
///
|
||||||
/// DNS Device Path SubType
|
/// DNS Device Path SubType
|
||||||
///
|
///
|
||||||
|
@ -1287,6 +1307,7 @@ typedef union {
|
||||||
SAS_DEVICE_PATH Sas;
|
SAS_DEVICE_PATH Sas;
|
||||||
SASEX_DEVICE_PATH SasEx;
|
SASEX_DEVICE_PATH SasEx;
|
||||||
NVME_NAMESPACE_DEVICE_PATH NvmeNamespace;
|
NVME_NAMESPACE_DEVICE_PATH NvmeNamespace;
|
||||||
|
NVME_OF_NAMESPACE_DEVICE_PATH NvmeOfNamespace;
|
||||||
DNS_DEVICE_PATH Dns;
|
DNS_DEVICE_PATH Dns;
|
||||||
URI_DEVICE_PATH Uri;
|
URI_DEVICE_PATH Uri;
|
||||||
BLUETOOTH_DEVICE_PATH Bluetooth;
|
BLUETOOTH_DEVICE_PATH Bluetooth;
|
||||||
|
@ -1343,6 +1364,7 @@ typedef union {
|
||||||
SAS_DEVICE_PATH *Sas;
|
SAS_DEVICE_PATH *Sas;
|
||||||
SASEX_DEVICE_PATH *SasEx;
|
SASEX_DEVICE_PATH *SasEx;
|
||||||
NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace;
|
NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace;
|
||||||
|
NVME_OF_NAMESPACE_DEVICE_PATH *NvmeOfNamespace;
|
||||||
DNS_DEVICE_PATH *Dns;
|
DNS_DEVICE_PATH *Dns;
|
||||||
URI_DEVICE_PATH *Uri;
|
URI_DEVICE_PATH *Uri;
|
||||||
BLUETOOTH_DEVICE_PATH *Bluetooth;
|
BLUETOOTH_DEVICE_PATH *Bluetooth;
|
||||||
|
|
Loading…
Reference in New Issue