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 A2E087803D0 for ; Thu, 23 Nov 2023 06:48:17 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=3BJfAURBYeqzBp7aZbAzngK7iDI0unxIY3xmer4rfzc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1700722096; v=1; b=b7sos75YS/s3jM6GJCuKJpBkFG599PT5FI5SAM3jvQE/x1Qs0Arn8YU1hiBNmLbTw539wgYh IB6JOcTs2170cMOm+JGLoNQAI4aa7WjxSI1T/ds7f9gbg1ISKMAhPzy0niiKr/xTNtzyXwpJLp8 mdiSeWcLcaUokTl1x8oF1Q4E= X-Received: by 127.0.0.2 with SMTP id WxyTYY7687511xF99efOwbot; Wed, 22 Nov 2023 22:48:16 -0800 X-Received: from NAM10-DM6-obe.outbound.protection.outlook.com (NAM10-DM6-obe.outbound.protection.outlook.com [40.107.93.70]) by mx.groups.io with SMTP id smtpd.web11.86154.1700722095731676348 for ; Wed, 22 Nov 2023 22:48:15 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Qd5Rig1Eu7vRpW/AwoNzMMSJbbZLzvQ6nU6OoTlaYRGuJW7SeW+yaDJM8LfpKP7Eat8+t55ZYWU35WHiC1OTFaDtYM2xfqEW6KzdGwe90JUdr3NlwHR/Fpw4CEjbU/piuoAJVq26sTd9SMZMYlVMg7aBwXLrXTOcl4SC7lPLUUJJhIWayh7fq/PiQJd6q5liwHmWanH8iDEnYxZoBhIue1LL3OvyskBISDU6gVom3NVzT7oX1b+m6qVu5drjs4WPTpIusSQ39lSNYtSYhusHuWi1FG0rksK9EF9gmOHEYo2gnGoSKcQTxuXaGLHgwheKuAaE0ykAg9pQSR24RPSJ5A== 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=tiHdGf9ep/V5QogIoZtU9+XlqO4FQ+BgFlpiN/fLm98=; b=GDuwwNMRnjVImjpSrnJCj3Uc+yFf2/igxt68/0dCKpoNecyeIeb/nwJPFUOgCnrjoyc4Y/Gat0yMBKyufZLqUx1WfGYnDHZBgeHVZGkteUUKv4f/XXRRlD3ysVtsQsr2u51hDcePdVWof2rKzsduPogbP31YMTnU6AcMBJ2PjAQhwWSX1kLh60uAdbw9oMOAyA0zR2UaC7GZWA1s6Prz/Np35RNQHGJ9sRv+9dQmOoBNonkqRmxuUA5ZzkTR0oo+BnzPbicUiUQwvNv6V9aksPLMFDvemTiFFoLSrvKCLEkA/Lyr+S46ARS3JA7pANwlpikMUzCY48bivr/BY5qQBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) X-Received: from CH0P220CA0003.NAMP220.PROD.OUTLOOK.COM (2603:10b6:610:ef::31) by SJ2PR12MB8012.namprd12.prod.outlook.com (2603:10b6:a03:4c7::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.18; Thu, 23 Nov 2023 06:48:11 +0000 X-Received: from DS1PEPF00017095.namprd03.prod.outlook.com (2603:10b6:610:ef:cafe::ec) by CH0P220CA0003.outlook.office365.com (2603:10b6:610:ef::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7025.19 via Frontend Transport; Thu, 23 Nov 2023 06:48:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by DS1PEPF00017095.mail.protection.outlook.com (10.167.17.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7025.12 via Frontend Transport; Thu, 23 Nov 2023 06:48:10 +0000 X-Received: from TPE-L1-ABNCHANG.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Thu, 23 Nov 2023 00:48:06 -0600 From: "Chang, Abner via groups.io" To: CC: Nickle Wang , Igor Kulchytskyy , Mike Maslenkin Subject: [edk2-devel] [PATCH V2 5/8] RedfishPkg/RedfishDiscovery: Add more debug message Date: Thu, 23 Nov 2023 14:47:15 +0800 Message-ID: <20231123064719.1248-6-abner.chang@amd.com> In-Reply-To: <20231123064719.1248-1-abner.chang@amd.com> References: <20231123064719.1248-1-abner.chang@amd.com> MIME-Version: 1.0 X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF00017095:EE_|SJ2PR12MB8012:EE_ X-MS-Office365-Filtering-Correlation-Id: f75679fc-48ef-4616-110d-08dbebf02874 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: rTvs3QNDSaLuX3lE6Dxh2ZVgG+wnzRDaKTf2B+mvyqiFCbUEuxSTQro4dU1nGPwzhBGh+bRQBSCTSBMwTdw/5G0pXqV2ppBScPpzxyVLeE327d3jL3W5JEtsNYiIpbGAV3P3ItEn4GSjNE7ILxeCHr+KHjl39QdXdwtOhiTZmyyrgaNm7gDk+dS6C/O43+V3Lq0+iZ9RCLFm7pQbuKoHw84QUrrrwcMU1eSv0m0K3Hi4SumsXB9nIV1oLvsejcOHaKdrTug7EY1DSE7O4Y/cyv315yEdgQy4SMjMeBtQnNgkCxfVlAX+BF1OFJeFhqR4zMjwmRrcUY34cyAVf4vXjgCQDntYtJozBS4Yo106+zGLZTzBRcXLmHu3ntVkCnr6mpuAHoKLvT6TGKVXSUCT+G+0uXSlOjPDd/UMOYavne0IsHN0qVPoOY2o0TQuWlTP2mUTXuKv9w6KG3dq/k+7B15KoYExX1SQ1dpUBC5D5cvgR7/KK6jeW6/mlh/Lik8G4DQaBuYFq4P0fnNMRCLc3erTsFPoGLZ0iZmRJDBycIWoWdPlZIHyxjgj1/8gnkAhP71drTeFgXqQug1zEYghVDClwxc8EaRNM5gQxrjj8tyu0cUpwsFMgjQsYyMHB0UW1EPkvxvA2yjQAjK8aY3CII978sKckhsgSJ8UO6Nu7eqfSpJSm6cGujzB4w9PF64QfmxXG90JvnOzpQGjo7XETmL1yWUfTzPV/jrzf8wWw9y2G+vsERdL6tnAuSHQfdEZ0xOD+5F1RNjKSvAjihu1Gg== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2023 06:48:10.4555 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f75679fc-48ef-4616-110d-08dbebf02874 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF00017095.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8012 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: zaaKaUYtvHL5DjFD2HIVaaCjx7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=b7sos75Y; 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 From: Abner Chang Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Mike Maslenkin --- .../RedfishDiscoverDxe/RedfishDiscoverDxe.c | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c b/RedfishPk= g/RedfishDiscoverDxe/RedfishDiscoverDxe.c index 28ba2d3a9fc..833ae2b969f 100644 --- a/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c +++ b/RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c @@ -603,6 +603,27 @@ DiscoverRedfishHostInterface ( } =20 if (MacCompareStatus !=3D 0) { + DEBUG ((DEBUG_ERROR, "%a: MAC address is not matched.\n", __func__))= ; + DEBUG (( + DEBUG_ERROR, + " NetworkInterface: %02x %02x %02x %02x %02x %02x.\n", + Instance->NetworkInterface->MacAddress.Addr[0], + Instance->NetworkInterface->MacAddress.Addr[1], + Instance->NetworkInterface->MacAddress.Addr[2], + Instance->NetworkInterface->MacAddress.Addr[3], + Instance->NetworkInterface->MacAddress.Addr[4], + Instance->NetworkInterface->MacAddress.Addr[5] + )); + DEBUG (( + DEBUG_ERROR, + " Redfish Host interface: %02x %02x %02x %02x %02x %02x.\n", + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[0], + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[1], + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[2], + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[3], + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[4], + DeviceDescriptor->DeviceDescriptor.UsbDeviceV2.MacAddress[5] + )); return EFI_UNSUPPORTED; } =20 @@ -716,6 +737,8 @@ DiscoverRedfishHostInterface ( IsHttps ); } + } else { + DEBUG ((DEBUG_ERROR, "%a: RedfishGetHostInterfaceProtocolData is faile= d.\n", __func__)); } =20 return Status; --=20 2.37.1.windows.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 (#111659): https://edk2.groups.io/g/devel/message/111659 Mute This Topic: https://groups.io/mt/102763121/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-