From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 167E2D80056 for ; Tue, 2 Apr 2024 04:19:13 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=fHccIs6TsVaj5U72pMxu1s9gCUdTTo7hcEjaf7MVAqg=; c=relaxed/simple; d=groups.io; h=From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Resent-Date:Resent-From:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20240206; t=1712031552; v=1; b=1La+5SxmiHU/iujlSoDXEPoptS6+plzP6pId5GHTTbM2p7OmidLjVOcRYIug+BIxyi1OmCN2 giAp/PBkL9ZT8D2sRyqp2xylFcgJ20yKT8yOX+cT0o8Gu1ezBrXX+Izt6UYnt/C+w2oLOcPajg4 hjg03G2w5/dwdFw6Eub0pfZBUTfrq6JSz15XYNJu0yPoQFDSuqg6orODQ6SLeu3fmQs7RcEN9VZ ay1OxiiKqJVhOIGY5qyaIJ0UYc42G08N7yoJ0XcaHvheJxYR0MpC9lw7OCzkk1kcxMlZZhfk97h s8ah8yg7HYUvNPA7JeMrR4XliEa/fU50e4KVOnabgDo6g== X-Received: by 127.0.0.2 with SMTP id c1TMYY7687511xkFroOSccIn; Mon, 01 Apr 2024 21:19:12 -0700 X-Received: from NAM10-BN7-obe.outbound.protection.outlook.com (NAM10-BN7-obe.outbound.protection.outlook.com [40.107.92.110]) by mx.groups.io with SMTP id smtpd.web10.5813.1712011252711619511 for ; Mon, 01 Apr 2024 15:40:53 -0700 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com (2603:10b6:208:3bc::16) by SN4PR10MB5558.namprd10.prod.outlook.com (2603:10b6:806:201::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Mon, 1 Apr 2024 22:40:50 +0000 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::eba0:e25a:464b:436b]) by BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::eba0:e25a:464b:436b%3]) with mapi id 15.20.7409.042; Mon, 1 Apr 2024 22:40:49 +0000 From: "Sachin Ganesh via groups.io" To: "devel@edk2.groups.io" CC: Liming Gao , Felix Polyudov , Dhanaraj V Subject: [edk2-devel] [PATCH 1/5] MdePkg: Add definition for NVMe Over Fabric Device Path Thread-Topic: [PATCH 1/5] MdePkg: Add definition for NVMe Over Fabric Device Path Thread-Index: AQHahIWloFXfj3JD00ikvpapgYSVww== Date: Mon, 1 Apr 2024 22:40:49 +0000 Message-ID: <20240401224002.254-2-sachinganesh@ami.com> References: <20240401224002.254-1-sachinganesh@ami.com> In-Reply-To: <20240401224002.254-1-sachinganesh@ami.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BL3PR10MB6161:EE_|SN4PR10MB5558:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: uMZGKTQPqea+c+Cr/CEn4omgzFthLvKbNPAsrnExtSz38nHxKP9a5KUDSJchkIaU+0Em+9fdJzlsIKildjkfQtOj9d9lRlK3Ak3gPVsDW8dl4u+Xc1Z0Ysc1YXZu1/1bOvPN7ENXIG2l/aKh+aJ8D2kkUBnBNRhgLWNV+ArPWORxIH2YYDmFqMQcJlpS4x/y43L/RBNMct3hewF13twaiqLUtAlZQCQmvlr3+6I9gX9caYaC52EjOXGbukzFYxA5M/LHneAf2bN2pNV9yNn9sD2TmWdhAYah8oDd/ocYEnfoejkJgvMrJTg8cBYiUiJg1DLK7zwN6Cq9D+/Ub0/2dAQaUTHjBT38PdFIqEoAIWVj5viNRoPG/GDt3kDpv8/fvitvdgPmRVpXlOzrBwxh/bwjXSiZI5wTZI/HsDfGACLe0E2E/R4EE2F5YktTe3UHgkxEdwFHQw6JI9NY95KKEgdkXAMZty44FiMyzQRy1kPhvuUwUIpXdKsnKDsR6E9Mm+NIQR7/FVU80wxXrc3lGnfnB4eU6E9qcJK3XZem7H+q67SOIKWnrEVfINYW5EoCFD4SP6GKcQYX2ZLVeIsmds4lKDv9s7lZBwjb/Q/XuUhoQbXbCJK0Cb1KdY5phKLcslEemSTQ+WK6qO7dkh28uZXQw4TUi+wm2jIFgehzHm4= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?ie/G+y7+AXkFlB8iBZunFZxjqaWhE7lTJmsZeFAaUHoUUA9otAZBXTcCXG?= =?iso-8859-1?Q?FyYjQYH1uatugefxhMLUc1VJJxWlhHGMYp4MHp65Oy1x4aVsn/s4Ea/FBH?= =?iso-8859-1?Q?fYV3pKIB3TRKTTDJb89P5dwY66jakskvSF7xsmSX/G/xqp6Iw8KgBZcDrV?= =?iso-8859-1?Q?2Gjx0mf8awj6qkWnnaHdHpZDtdHw6+cFNGO3pQ7sFHFJDF1I/40zKlviWX?= =?iso-8859-1?Q?jGV8lMncWZyXNhaHjKCEIjAzV/L++YjmcN7rJ9GN36iD8I/sgsZhGmPVRo?= =?iso-8859-1?Q?9UM4gRwK8e3tUUJTzDQK4OLssnsQl+z3P7j8qTweujK4bKHGwyx9c/q5oq?= =?iso-8859-1?Q?bB3c+lv+wDxT//YlwAorpRfAlk+ZRxzYFezVgN9OwWKLc+xkQyTPN8XFvw?= =?iso-8859-1?Q?VHfd7oahvchmE00kjlCU5vrwK4UziImrv5vG2HapkYzwOzhNZQFsXtxb7m?= =?iso-8859-1?Q?jPVQbMvM8sY+zO5y6gRawK+9nTdPUYZZNfbMo3BhlQH75S+7PHigbE5jGc?= =?iso-8859-1?Q?k4wk0OtsN4RQrmlM90NjI9/XQL26CBTjhNeHKsj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?1QseSP+TeDuHbgpBaclcjd96TlzK1tRqmASP3ZF6vGtIIeBqXTU2yOsW6s?= =?iso-8859-1?Q?R+ZORwKs+fQSGGDLo6hVSE+18Sx5BpGUBBNfBr+9dM+sMphbFpPuBJSb53?= =?iso-8859-1?Q?einVu0ZBPVyg4hI8VyFZWONkyGZCqeiDkWXAtNsjbmO48ckbgv8uiy3tBz?= =?iso-8859-1?Q?40sOg5HlIJZ2ZD+TCdHcFSNMe/TtZJVVgg?= MIME-Version: 1.0 X-OriginatorOrg: ami.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL3PR10MB6161.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0dd2756-5005-47b9-e9a4-08dc529cc7c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Apr 2024 22:40:49.6393 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 27e97857-e15f-486c-b58e-86c2b3040f93 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 1cx2z7LIStJOFMfpemdvIAZ3+jPn3/7kTxAY5HxwjE38puW3rNQzNN0B7JyvHEXjmW2quWEyQ3L5tlB/MfaANw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR10MB5558 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Resent-Date: Mon, 01 Apr 2024 21:19:09 -0700 Resent-From: sachinganesh@ami.com Reply-To: devel@edk2.groups.io,sachinganesh@ami.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: tnVcaT7IUtBhxE4p7FRIyPnwx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20240206 header.b=1La+5Sxm; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=pass (policy=none) header.from=groups.io In accordance with UEFI 2.10 Specification: Adding definition for NVMe Over Fabric (NVMe-oF) Device Path of Messaging Sub-Type. Cc: Liming Gao Cc: Felix Polyudov Cc: Dhanaraj V Signed-off-by: Sachin Ganesh --- MdePkg/Include/Protocol/DevicePath.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol= /DevicePath.h index 9060dd782e..ec1ed1a923 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -837,6 +837,26 @@ typedef struct { UINT64 NamespaceUuid; } NVME_NAMESPACE_DEVICE_PATH; +/// +/// NVMe over Fabric (NVMe-oF) Namespace Device Path SubType. +/// +#define MSG_NVME_OF_NAMESPACE_DP 0x20 +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 /// @@ -1287,6 +1307,7 @@ typedef union { SAS_DEVICE_PATH Sas; SASEX_DEVICE_PATH SasEx; NVME_NAMESPACE_DEVICE_PATH NvmeNamespace; + NVME_OF_NAMESPACE_DEVICE_PATH NvmeOfNamespace; DNS_DEVICE_PATH Dns; URI_DEVICE_PATH Uri; BLUETOOTH_DEVICE_PATH Bluetooth; @@ -1343,6 +1364,7 @@ typedef union { SAS_DEVICE_PATH *Sas; SASEX_DEVICE_PATH *SasEx; NVME_NAMESPACE_DEVICE_PATH *NvmeNamespace; + NVME_OF_NAMESPACE_DEVICE_PATH *NvmeOfNamespace; DNS_DEVICE_PATH *Dns; URI_DEVICE_PATH *Uri; BLUETOOTH_DEVICE_PATH *Bluetooth; -- 2.24.1.windows.2 -The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephone= at 770-246-8600, and then delete or destroy all copies of the transmission= . -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#117318): https://edk2.groups.io/g/devel/message/117318 Mute This Topic: https://groups.io/mt/105282238/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-