From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail04.groups.io (mail04.groups.io [45.79.224.9]) by spool.mail.gandi.net (Postfix) with ESMTPS id DE0FA7803CD for ; Mon, 15 Apr 2024 16:59:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=SFoMTKTPZXGophJY+IcZ/SSGbMpaNYc8CPcmgSGk2DY=; 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=1713200365; v=1; b=r4bT42BJrFk9eE5AiEPLRT1rsn0DdMFkVMRiiZyh+gcDrS+5W9zY/AYzIT7JfD5KskDkout2 8j7Ko1w9vcmMONCN4yWbUPwGrLJARrX7emU3rG7xT+U9Pcds9qvv90/FreVGezp6oiVTmcCNMZf EtkysZDS88R4aTbQCfTusLETb+kyTa3TPXBOimlFHCmmOBZWTGX6q+0B4f5QUEROyte8rVQ/N2z qnuqqcoCLThsO9xkAHScKJV9nrYWlv063yBxKRBTczlKcy0+Gtd96eXOLmwm/Pzjldw+bH08pzr 8ZX1D+krEtoWR/3fmmPp+Tlk6zu6FE5iUSFAN3Yk4d0Kw== X-Received: by 127.0.0.2 with SMTP id KGtNYY7687511xcM3XfWWIdH; Mon, 15 Apr 2024 09:59:25 -0700 X-Received: from NAM12-MW2-obe.outbound.protection.outlook.com (NAM12-MW2-obe.outbound.protection.outlook.com [40.107.244.128]) by mx.groups.io with SMTP id smtpd.web11.284.1713199645361001557 for ; Mon, 15 Apr 2024 09:47:25 -0700 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com (2603:10b6:208:3bc::16) by BN0PR10MB5144.namprd10.prod.outlook.com (2603:10b6:408:127::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.56; Mon, 15 Apr 2024 16:47:20 +0000 X-Received: from BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::78e5:e1a1:9770:f20a]) by BL3PR10MB6161.namprd10.prod.outlook.com ([fe80::78e5:e1a1:9770:f20a%5]) with mapi id 15.20.7452.049; Mon, 15 Apr 2024 16:47:14 +0000 From: "Sachin Ganesh via groups.io" To: "devel@edk2.groups.io" CC: "gaoliming@byosoft.com.cn" , "michael.d.kinney@intel.com" , "zhiguang.liu@intel.com" , Felix Polyudov , Dhanaraj V , Sachin Ganesh 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: AQHaj1SROaEThGjqQUSkcgbBR1587g== Date: Mon, 15 Apr 2024 16:47:14 +0000 Message-ID: <20240415164627.2464-2-sachinganesh@ami.com> References: <20240415164627.2464-1-sachinganesh@ami.com> In-Reply-To: <20240415164627.2464-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_|BN0PR10MB5144:EE_ x-ms-office365-filtering-correlation-id: 042b7525-35af-4b29-b45e-08dc5d6bb432 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: SPyRrtiOFVTO+FfILLNuX8nTlKqq+mdln8Bv4XDacOboDKyNDO63FAq6mGBcncikiGvuqhsXgML2eYqaiIyW6JkHrP2NhVJxJAxyMydt7t8uqnzigQqbs9C4dZyIjxn76cptG95JZQ9D5kMYp00ZSROJL8sbtxP6yGMNf8lWa0xGSChRbQLeFkwr6mpNQLDUM7jfS0HTyytIhdc7jgLPJufSBOHKJ3jfVUtMG2LyUExD28jyfKr6m5WS90T4t8VjGuo87C3/thCjEhInlDEiNFZBde8BTmlf3bXweCuQdohp+PhFuPwdaL9jZ08A4pYZFaCezIbDhlHCerWXlBSTozrlIHNWjzcCRAel5o4USqWp9MpfCOCONBlv8bD1G2M9/C8E3Btso6vM5Hloow5XkwzTGj4++mmk6tFOCtbuBEp5pNItUm2nydIO6Q3JCeIiO/qCBc234dA3mHArwysk6PkxRcsB9AOx0+pUN0E9rCWXPYpQgH1Cv69jZCNBtZircIPqfdaBNdkIPSqhBaAYq9Cm3XfEDLPg6wt77MtKQC9cM6DKOulCmL6h+Pjd7+Izn1Q+o9lcMFjl4rCWn8c/NgBb5u34AjzqaWgtkGIeC6sv7UmUxSvCg41UCQ6I4MY5ow+JkkgDQUzcWVR1D89VvxUUj/UqxtqpKtMeUR30OvC6s5xEBPeTfZbHu0Z34wpRjrQD18/GGzAHFroHjoWkhOOQe/1/MP8HvSuzayVMERQ= x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?8FsSw3Bi0mk70ytQWos0o1Vq2j5aKt7OoK+v4k6I/Hz1v88VtyiyI0/7tA?= =?iso-8859-1?Q?CUsxFZtbLPfcF/b4v5u5F2755ezYMAE2ga5MkojVTeOqxRkagdZbwrI+y3?= =?iso-8859-1?Q?OsULUnv1D4xIVGopXdUJwaO+TRd5V9NgvlNtxUR8O0PpZnhcf9DW1fHN2f?= =?iso-8859-1?Q?Sen8x9zXoeZvoP0Gg3bZOzEOTpSRuPThiiBBArLxOnqcP9fqO2ibWB7oem?= =?iso-8859-1?Q?i2e9IutGHaW4SkF+IBm8AzqZdVqeV6eCIsLKyewum6QdckagBWza9vtHE8?= =?iso-8859-1?Q?LJ+IEo8sZlFgAxXTCzKhh3gVhJDUAO1hi2ufcubdlEE4j1Yq5F4uf0APdn?= =?iso-8859-1?Q?tE/US06VA3vrzX+YovaZ3hFVz9Iwp/QS9T0kZY0lgwtNiMKJvWbyU+QDF7?= =?iso-8859-1?Q?9FN99Ne/AgshZw8mgAwjzdldN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?CoENpGrcKG0uH09iy6yIGVFLQ9hUlJIIQV5iZJCfiqxnPzc3QaQmCTQkcJ?= =?iso-8859-1?Q?janr3dBPduxoaLu7dST6Mg1I5v+5LWcW3GhZiZtGudDfKc3A6O0CmDfeNu?= =?iso-8859-1?Q?Hn2Sxv6jm6JD7V0s0OIPvnnnx/lViSr0J8y4DhXsN40m29Voi2mjDu4wsY?= =?iso-8859-1?Q?GaqFR4qsDvW8w1k6AC7V4cKHsHAJ7cxC+8OqnRripRxj4bL4lhaeCrqpcA?= =?iso-8859-1?Q?EYkClF9V10y/Rzjdzpeg2FlLA+q3pMW5jtsbqiM2JXyWIEMHdBUX41dVMb?= =?iso-8859-1?Q?+TYHq4fcPxxNARBaknu/1IxlvnX4C0Rfx0T62g7H8ZEoCio4wDnHtBIA?= =?iso-8859-1?Q?=3D=3D?= 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: 042b7525-35af-4b29-b45e-08dc5d6bb432 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Apr 2024 16:47:14.5768 (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: 55LeFdQcX/lI/VBgc5+wSshTLf274etjXI0CZVq59Gxb8rTdc0irDptkJqkYdTjshJKxrasQ0kMhqX8z8YVqaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5144 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, 15 Apr 2024 09:59:24 -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: OrvIfdTKU0ANBD9Z5MauuPllx7686176AA= 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=r4bT42BJ; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 45.79.224.9 as permitted sender) smtp.mailfrom=bounce@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: Michael D Kinney Cc: Zhiguang Liu 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 (#117795): https://edk2.groups.io/g/devel/message/117795 Mute This Topic: https://groups.io/mt/105540403/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-