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 463A9780091 for ; Wed, 3 Jan 2024 13:05:41 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wCfwViNUSJ3TWvBQQRQXNHrA30Ct4vVX/WuEAhwJ51M=; 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=1704287139; v=1; b=P84MXdNdvDg1Y5ItE2aN/uge9HAl6UIgSHeiULLAn6aSGNAvyEKigtoxVbHVeONe3/OhDRlV EEN+XHmyWr1YxvBpq7AztEZ6bIbAVoNzernjJh+1Jp3Ca4ClHcOWoX1ZB2HIFjxijBaXr7O3Ibl fRk+2+WiGrdyrEjcH43kfnzk= X-Received: by 127.0.0.2 with SMTP id OCMXYY7687511xRMNYlWB4Yp; Wed, 03 Jan 2024 05:05:39 -0800 X-Received: from NAM02-SN1-obe.outbound.protection.outlook.com (NAM02-SN1-obe.outbound.protection.outlook.com [40.107.96.87]) by mx.groups.io with SMTP id smtpd.web11.16842.1704287139215692081 for ; Wed, 03 Jan 2024 05:05:39 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=arOc258hU5PISllzoSBhUh+nQYo4Po5XShd2+7WNc6vjtxdFDN/7B/gDJFbdCiXnMfIZx+cZm0mMcwTb2zffEWj4TsZiqULZYiIJma6M1IDBmesEb7eyUhMjc06Mby5Meb5S/Ke0drGbDg+i+AYDk4iMrlNkEV6nQe7BR6C8Ndbh23Eh1p2ewzwJ+4vQZ1ywjG5DIkFO87z29oLipv9i3uPUwqJbObmZqSLHu+xtkRGuo/DV3ChRcktSblbzuW7CKzNaZu0cd580qFB9Z+kkpDk6lGtlFPL7LzRM0so7bMkFlDgdwuFGaaInBNzDSPM2NrbmTTRB0C1BkzZi4ISggQ== 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=Ww4T8Hrr7r1zVOsdv/1KdPHg4CAjubqa0/Ixj8MTzWs=; b=Y4oNygWtK5Evw8F+JVvJY0+JhKwKue04YUXZ7M7VhoO4yRh9WfDaQS77Z5SPlKo4e3o/kSpTSMtde8n5GbZIeR2Ps48HEbFEzJeCJrvYIEnZFgniXXqT/gLUy2t/uI3NCMbDHHZgaEchb2VS1a+8GM8VWmLuEB7OIJxgUuuU9I8AUj2lsyEuUCOVnai2AJQ4UK2AZ1YOe8TUD9gri8MW1St++h0w9XSKVYY3Qkg/zlksr1zopz+LQ4MywhrM7g0At2V9G9r0KesGIYw4uHEt9OTsI+wCnNbPvLjeq/9tldnSIFKNCDM9t0+5x9uMuy2YtTlSLbSX+Dm764Egi0iXKQ== 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 MN2PR12MB3966.namprd12.prod.outlook.com (2603:10b6:208:165::18) by BL1PR12MB5378.namprd12.prod.outlook.com (2603:10b6:208:31d::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7159.13; Wed, 3 Jan 2024 13:05:36 +0000 X-Received: from MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::91d9:e679:32a3:dd05]) by MN2PR12MB3966.namprd12.prod.outlook.com ([fe80::91d9:e679:32a3:dd05%5]) with mapi id 15.20.7159.013; Wed, 3 Jan 2024 13:05:36 +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 00/10] RedfishClientPkg: introduce Redfish HTTP cache library Thread-Topic: [edk2-redfish-client][PATCH 00/10] RedfishClientPkg: introduce Redfish HTTP cache library Thread-Index: AQHaPjypOu4wfKhZPkOg9Us1NG9YobDIDl4Q Date: Wed, 3 Jan 2024 13:05:36 +0000 Message-ID: References: <20240103120148.62548-1-nicklew@nvidia.com> In-Reply-To: <20240103120148.62548-1-nicklew@nvidia.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=85d1fc4f-933d-4bac-ac39-4f2f0c0f028e;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-01-03T13:04:44Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN2PR12MB3966:EE_|BL1PR12MB5378:EE_ x-ms-office365-filtering-correlation-id: 9fc95510-f49c-4d72-0f3d-08dc0c5cad5f x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam-message-info: QLKYF7HJhDBdt4Tm4s+XT6btzECHSomZIDtkzv4gwWarC8Drzmp5Aomu3GQBqiM5vJgcQTU8Ks8xaGlykHWU+G0MYUGTshsY4Tsf+enakV5blvkdTJ4mBYzSiBm7ozor7OYIo65+mR4ZVRH/TvFMuSAeFkPg3kvH6gErUKnSodOWOuq5HwnIew/QEEitxhkuBm6FaQMgy4s9D6sBssD7ar9+GAu4Cj0nTptuK+dmVzS0lh0t3c94ZYlIxOsABvxmnTYw4NMSciBmuWvnLcPuBYMHPwLIr7oTHbxX+CogxDzgrF0NchKa9pNRDg94XQL76uV6M7RmK9/mGlDPFG+mX3x6ATTs8rb0IOIBsm/QBDGUwbbz9eZeCn8k8QWpafN6RjHK3qjq8VyDIB519ppNgXvTSxS5ZBLvy7O6pN+BPf7x1gairWr0XVVikZJeemGDkrLzSX6xyJyDoGoCsyBvS18ia/pvX8BtUgM9KF/jGPdbFXu4TKO7Mja3O2QpMqA3Ybn185V7q7LfNZszsnDF9uIzVsHMvykMIa2k/kebr0QgUhFGU8re7PXF5d7NAxZTHEmGh5eB1SP9P75p4zt4giGNtqETgeql+0DPjkuULsYrO5PB6dt4SYIzGUS7u6hQNa+fwssLq1Uyjqafcu6fVw== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?ECCXSKsdi6qrgR1pAfa0o5MYsh9885BWLg51HPZhcpkLwJKldAW8DqfYyb+R?= =?us-ascii?Q?U6zj7oBl1twVoWFCNXi7+2zNkAQNDIgsc4DCWh6aOvIi5vkWMqvvMDoUgUz2?= =?us-ascii?Q?tcaZ8jbikHCqex58QCFcpG/Mn4oVqQuSj3oxCv1FEnJ4A93Z6lcE7jTAHgMY?= =?us-ascii?Q?7ZZ8OJSm50WNYz0tMSzQpORAKvGp9Wnwe1wOLLw7qmovtuyNcOKgZ8fm9WhG?= =?us-ascii?Q?zFClIX0XjQYy/dcevS2lSHzd5rmP5YsNDKxukSM1tw1hbh/zKe0TjK9zgplz?= =?us-ascii?Q?eKKsuajGJOjQveBLWzl4Nt318nIyq7Oc/EVCWCDvNfnmyJ51nXD9pVXBSCY/?= =?us-ascii?Q?vq97fVCVl2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i6mW5?= =?us-ascii?Q?atK44p4COd+xxXzZdZYTRqj9ca0OTfB6oi/C2s4VMKVO7JN0OUMttNWG/0G/?= =?us-ascii?Q?FNn867Co9Tw+oBcng6Tki3ZVp13nOcYvEjyycilkwEy+th754hjidYGzt5IF?= =?us-ascii?Q?cM9v/0ttxnr1teB2W/YYM2UWDeEvfiWmJkgNirXIgYSAbq3A/yFqG6KfT9CX?= =?us-ascii?Q?2YGLF7S8bgGNSHVRi1UmB43Epp9yFFmutjjs9UK1VtlFJxwSmnzBKFaze4+V?= =?us-ascii?Q?Kbg7WxVcVxpMrcLSz7FtQG0hhZpfe44lgHxS8md892cFEFyTd0/KZ0hilG8v?= =?us-ascii?Q?z/ZUWMv0o+AKFNUHxHI=3D?= MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR12MB3966.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fc95510-f49c-4d72-0f3d-08dc0c5cad5f X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jan 2024 13:05:36.4404 (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: YDyMpQJ+Kv7e2TrS4DFDLL82vY/uslBHBxr5JwTjR6nQl3CiL1l4VG1aN+6EEHTyhhkqhkSziNROdRFnnOFC6w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5378 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: jMNJXmtRlPRjta8HZMRSaUSix7686176AA= 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=P84MXdNd; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io [AMD Official Use Only - General] Besides the comment given to patch 1/10, for all others Reviewed-by: Abner = Chang > -----Original Message----- > From: Nickle Wang > Sent: Wednesday, January 3, 2024 8:02 PM > To: devel@edk2.groups.io > Cc: Chang, Abner ; Igor Kulchytskyy > ; Nick Ramirez > Subject: [edk2-redfish-client][PATCH 00/10] RedfishClientPkg: introduce > Redfish HTTP cache library > > Caution: This message originated from an External Source. Use proper caut= ion > when opening attachments, clicking links, or responding. > > > Introduce RedfishHttpCacheLib to improve HTTP GET performance in Redfish > feature drivers. Feature drivers often query same Redfish resource > multiple times for different purpose. Add HTTP cache mechanism to improve > the performance. > > An enhanced Redfish HTTP driver is under development and it will replace > RedfishHttpCacheLib in the future when it is ready. Now, adding > RedfishHttpCacheLib is to unblock several upstream tasks. > > Pull request is opened here for CI testing: > https://github.com/tianocore/edk2-redfish-client/pull/66 > > Signed-off-by: Nickle Wang > Cc: Abner Chang > Cc: Igor Kulchytskyy > Cc: Nick Ramirez > > Nickle Wang (10): > RedfishClientPkg: introduce Redfish HTTP cache library > RedfishClientPkg: use HTTP cache lib > RedfishClientPkg/ComputerSystemCollectionDxe: use HTTP cache lib > RedfishClientPkg/ComputerSystem: use HTTP cache lib > RedfishClientPkg/MemoryCollectionDxe: use HTTP cache lib > RedfishClientPkg/Memory: use HTTP cache lib > RedfishClientPkg/Bios: use HTTP cache lib > RedfishClientPkg/EdkIIRedfishResourceConfigLib: use HTTP cache lib > RedfishClientPkg/RedfishVersionLib: use HTTP cache lib > RedfishClientPkg/RedfishFeatureUtilityLib: use HTTP cache lib > > RedfishClientPkg/RedfishClientPkg.dec | 3 +- > RedfishClientPkg/RedfishClientLibs.dsc.inc | 3 +- > RedfishClientPkg/RedfishClientPkg.dsc | 3 +- > .../Features/Bios/v1_0_9/Dxe/BiosDxe.inf | 3 +- > .../v1_5_0/Dxe/ComputerSystemDxe.inf | 3 +- > .../ComputerSystemCollectionDxe.inf | 2 + > .../Features/Memory/V1_7_1/Dxe/MemoryDxe.inf | 3 +- > .../MemoryCollectionDxe.inf | 2 + > .../EdkIIRedfishResourceConfigLib.inf | 2 + > .../RedfishFeatureUtilityLib.inf | 3 +- > .../RedfishHttpCacheLib.inf | 48 ++ > .../RedfishVersionLib/RedfishVersionLib.inf | 3 + > .../Library/RedfishFeatureUtilityLib.h | 21 +- > .../Include/Library/RedfishHttpCacheLib.h | 59 ++ > .../Include/RedfishCollectionCommon.h | 4 +- > .../Include/RedfishResourceCommon.h | 3 +- > .../RedfishFeatureUtilityInternal.h | 3 +- > .../RedfishHttpCacheLibInternal.h | 63 ++ > .../Features/Bios/v1_0_9/Dxe/BiosDxe.c | 80 +- > .../v1_5_0/Dxe/ComputerSystemDxe.c | 70 +- > .../ComputerSystemCollectionDxe.c | 24 +- > .../Features/Memory/V1_7_1/Dxe/MemoryDxe.c | 70 +- > .../MemoryCollectionDxe/MemoryCollectionDxe.c | 24 +- > .../EdkIIRedfishResourceConfigLib.c | 6 +- > .../RedfishFeatureUtilityLib.c | 67 +- > .../RedfishHttpCacheLib/RedfishHttpCacheLib.c | 774 ++++++++++++++++++ > .../RedfishVersionLib/RedfishVersionLib.c | 30 +- > 27 files changed, 1174 insertions(+), 202 deletions(-) > create mode 100644 > RedfishClientPkg/Library/RedfishHttpCacheLib/RedfishHttpCacheLib.inf > create mode 100644 > RedfishClientPkg/Include/Library/RedfishHttpCacheLib.h > create mode 100644 > RedfishClientPkg/Library/RedfishHttpCacheLib/RedfishHttpCacheLibInternal.= h > create mode 100644 > RedfishClientPkg/Library/RedfishHttpCacheLib/RedfishHttpCacheLib.c > > -- > 2.34.1 -=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 (#113086): https://edk2.groups.io/g/devel/message/113086 Mute This Topic: https://groups.io/mt/103500346/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-