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 099BE740035 for ; Tue, 5 Mar 2024 06:31:59 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=lhsA+xorS1FPWE1ZiKPd6gPCwWMqGlP5ENdXl4XQMoI=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:Accept-Language:msip_labels:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1709620318; v=1; b=kMq5ms4QTEGsFv2SThgj1hehtGuVdIP+511Ac/OGZTYZiz7B1JoEe2KKLglxVOHR/WQBhriW w0+a1AG6zxx2+dejI90kSHQqjbalOqgYC+COIqikpDwL5z6InQwlt5C/Uwn75GpUXjXI42SwBYR nJFZob5avnzbdBXbA9X2VIvE= X-Received: by 127.0.0.2 with SMTP id m1vYYY7687511xFa5hLVDspE; Mon, 04 Mar 2024 22:31:58 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.80]) by mx.groups.io with SMTP id smtpd.web11.16122.1709620317696613018 for ; Mon, 04 Mar 2024 22:31:58 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LqXxzSN/7RcPJ+Rs1JLK2iw4QynMPhgPVMz5cMQsigAcORjfaXwJniWHERR4Gn9IsSHVi9G81nqF/JEKbGPpURZEFVwbF6XX8QnkmaUqbAKmcgho27a/aNpcjbvG3AcmEGech6rYAVFJQdoqcN9r6eK5EbOy11XOoT9rsBk37JpuO29zPIS5mxvWi1vtndb5uh3eHYcaPC1JqCZ24lrg7ri/UZta1E24oMXQqPv3FojyFme+ObicS4tFv7xBF+MIP5TxA229h7/+uiHXx2JCySjgCu+zvzhQSS4noFBDg14yAugclEziivPs9sri/SoyjCgTNMsKSf+AsKgGLOHzyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ap5UBmpwD84OAXvg7+a8o0Swr8Avat8JlZETA10JgKE=; b=CmrWYciQtX5hVJZCjuYHHMQYyvfxQvAkE8ThR6a4cWg2Ch98q1OVzhuD5mo0mhgkDNyovL976b/T2qCPdovIWK73qKc9/jsn5UFvDZKzpt8gSMXUFyDpjOz9+zt6jpDHr2k2+BHPPPpBwfHYOiizd6NSxBnsYOVAfbN0goDmgoJo6AnXJKq9Ap9++/sVmo8uXM88SbX3pmHRznBxxygJKbtYv4ZW/i+8cv3x0ItW/rx+fGX66V7zWH9kKpkOndBPQVzWUin0O+rev0M9Hux2aEDrq99FPdf+erG1eTweu4DUhmBvmFMUcxJBk43HGGlO9BXXvA665EJleQOJcd3l5Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com (2603:10b6:408:200::8) by PH0PR12MB7886.namprd12.prod.outlook.com (2603:10b6:510:26e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Tue, 5 Mar 2024 06:31:55 +0000 X-Received: from LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0]) by LV8PR12MB9452.namprd12.prod.outlook.com ([fe80::e006:4173:de2c:aca0%5]) with mapi id 15.20.7339.035; Tue, 5 Mar 2024 06:31:55 +0000 From: "Chang, Abner via groups.io" To: Nickle Wang , "devel@edk2.groups.io" CC: Igor Kulchytskyy , Nick Ramirez Subject: Re: [edk2-devel] [edk2-redfish-client][PATCH 0/3] introduce Redfish Resource Config2 protocol. Thread-Topic: [edk2-devel] [edk2-redfish-client][PATCH 0/3] introduce Redfish Resource Config2 protocol. Thread-Index: AQHabjefQD36FTCYck6Rt4QMgJTxQLEobG1QgAAO5bCAADXFwA== Date: Tue, 5 Mar 2024 06:31:55 +0000 Message-ID: References: <20240304132634.41025-1-nicklew@nvidia.com> In-Reply-To: Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=6c362b7b-974e-4b43-a1c4-fd6ddb543c7c;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2024-03-05T02:25:46Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: LV8PR12MB9452:EE_|PH0PR12MB7886:EE_ x-ms-office365-filtering-correlation-id: 3ae00b3d-f1c3-403c-9c2e-08dc3cddf3a2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: CDcZ6y8iBuQWNHfBIhrwA340Ao14a9BFXaTXqo/7qoJgU3rpM85/WQUANBcUA0UbKHpB+AN2YymBXwqjVVAeNuClUCoj+YHY9/bWx0y9hoXMV9jmf0mCFHgb40xeSKakn2UiwORKIjcluQbEK1I6wSBKHEKCKPPZaab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ascii?Q?yqy/+gNGTIYXCe7Kqpo0MDiawF+BAEXawdMojVDnJycL/1TRKD0UXlIzSS7F?= =?us-ascii?Q?wxeSE5kNVS9MPuxUt5Xy1c4jfyh1uqHAHau6eX6Zhw4SpQ3xTmgC92gBWgbL?= =?us-ascii?Q?OcCGuTlx4E6mCGAGzGwCOhWULPgJ3a+Zd0iDSswns0hufnuydBInUkxWEYvp?= =?us-ascii?Q?1PkSquFuW3QB2g9FxGDRDNHlqhunPkKbcjTZCIFbHc9WDwHQPO4+d47kcctc?= =?us-ascii?Q?x/RQwG9PNF5UlHtpbJLDWGVJ6V4s7xzebhG7t9SuLOnfsWl5oWJOdBlQMDmH?= =?us-ascii?Q?f4ztbxK+GRhkZxl0R1k=3D?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: LV8PR12MB9452.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3ae00b3d-f1c3-403c-9c2e-08dc3cddf3a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2024 06:31:55.2626 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: LVpMQwHv1bgfuKXHNw+2oXp7kIFqH7YpZold2O+Qp+isClAYRxTkEg01HTOA70rQ2dK4uQtcIoj8sYYkCuyVDA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB7886 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 Reply-To: devel@edk2.groups.io,abner.chang@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: KKRojyzjMcLCEHTFgbC7lu5tx7686176AA= Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=kMq5ms4Q; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") [AMD Official Use Only - General] Understood! Thank you for the elaboration. Abner > -----Original Message----- > From: Nickle Wang > Sent: Tuesday, March 5, 2024 11:23 AM > To: devel@edk2.groups.io; Chang, Abner > Cc: Igor Kulchytskyy ; Nick Ramirez > Subject: RE: [edk2-devel] [edk2-redfish-client][PATCH 0/3] introduce Redf= ish > Resource Config2 protocol. > > [AMD Official Use Only - General] > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > Hi Abner, > > Per offline discussion, Redfish collection driver may use query parameter > "expand" to get members data all together. And then Redfish collection dr= iver > can send these data to non-collection driver. Non-collection driver does = not > need to get data from BMC again and this saves time of communication > between BIOS and BMC. This is very helpful when we are working on Redfish > Boot Options collection, which may contains many boot options on system. > > Regards, > Nickle > > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Chang, > Abner > > via groups.io > > Sent: Tuesday, March 5, 2024 10:27 AM > > To: Nickle Wang ; devel@edk2.groups.io > > Cc: Igor Kulchytskyy ; Nick Ramirez > > > Subject: Re: [edk2-devel] [edk2-redfish-client][PATCH 0/3] introduce > Redfish > > Resource Config2 protocol. > > > > External email: Use caution opening links or attachments > > > > > > [AMD Official Use Only - General] > > > > Hi Nickle, > > May I know what is the scenario on edk2 Redfish driver stack to use > Resource > > Config2 protocol? > > > > Thanks > > Abner > > > > > -----Original Message----- > > > From: Nickle Wang > > > Sent: Monday, March 4, 2024 9:27 PM > > > To: devel@edk2.groups.io > > > Cc: Chang, Abner ; Igor Kulchytskyy > > > ; Nick Ramirez > > > Subject: [edk2-redfish-client][PATCH 0/3] introduce Redfish Resource > > > Config2 protocol. > > > > > > Caution: This message originated from an External Source. Use proper > > > caution when opening attachments, clicking links, or responding. > > > > > > > > > Introduce EDKII Redfish Resource Config2 Protocol so that caller can > > > pass Redfish data to callee when caller uses "expand" query parameter > > > to get multiple Redfish resources all together. Then, callee does not > > > get Redfish resource from Redfish service again and save the > > > communication effort between BIOS and Redfish service. > > > > > > EdkIIRedfishConfigLib is updated to select Redfish Resource Config2 > > > Protocol as first priority. If there is no Config2 protocol supported= , > > > library will use config protocol automatically. > > > > > > Pull request is created: > > > https://github.com/tianocore/edk2-redfish-client/pull/80 > > > > > > Signed-off-by: Nickle Wang > > > Cc: Abner Chang > > > Cc: Igor Kulchytskyy > > > Cc: Nick Ramirez > > > > > > Nickle Wang (3): > > > RedfishClientPkg: introduce Redfish resource config2 protocol. > > > RedfishClientPkg/Edk2RedfishResourceConfigLib: support config2 > > > protocol > > > RedfishClientPkg/Features: support config2 protocol > > > > > > RedfishClientPkg/RedfishClientPkg.dec | 2 + > > > .../EdkIIRedfishResourceConfigLib.inf | 4 +- > > > .../Library/EdkIIRedfishResourceConfigLib.h | 33 +- > > > .../EdkIIRedfishResourceConfig2Protocol.h | 148 +++++++ > > > .../EdkIIRedfishResourceConfigInternal.h | 44 ++ > > > .../Features/Bios/v1_0_9/Common/BiosCommon.c | 14 +- > > > .../BootOptionCollectionDxe.c | 14 +- > > > .../ComputerSystemCollectionDxe.c | 16 +- > > > .../MemoryCollectionDxe/MemoryCollectionDxe.c | 16 +- > > > .../EdkIIRedfishResourceConfigLib.c | 391 ++++++++++++++--= -- > > > 10 files changed, 565 insertions(+), 117 deletions(-) create mode > > > 100644 > > > RedfishClientPkg/Include/Protocol/EdkIIRedfishResourceConfig2Protocol= . > > > h > > > create mode 100644 > > > RedfishClientPkg/Library/EdkIIRedfishResourceConfigLib/EdkIIRedfishRe= s > > > ourc > > > eConfigInternal.h > > > > > > -- > > > 2.34.1 > > > > > > > >=20 > > -=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 (#116353): https://edk2.groups.io/g/devel/message/116353 Mute This Topic: https://groups.io/mt/104721505/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-