From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (NAM02-BN1-obe.outbound.protection.outlook.com [40.107.212.49]) by mx.groups.io with SMTP id smtpd.web10.72522.1673273538517948277 for ; Mon, 09 Jan 2023 06:12:18 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@amd.com header.s=selector1 header.b=ucX0MsL8; spf=permerror, err=parse error for token &{10 18 %{i}._ip.%{h}._ehlo.%{d}._spf.vali.email}: invalid domain name (domain: amd.com, ip: 40.107.212.49, mailfrom: abner.chang@amd.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=J1S+mKXMQwimeySCgpzJQfzwWvSzpLnPwkhmN8mO7KtED/mhrjDkgWBfe9VIfUeUeGIku9I7qB/FoWZcQeACfwsmRz9QD6dx88QaigVBowqRNoHho+T/dYV/npCMi4i3lhw6t2WGYPsBWKb4LAIiSdpr1h9JWDw5RtUH2kDyOKPScIlJpNFdsDkAnfKIF47D3jVigOXdxmPAtzgNnk00VvX4Gi7s9kzZgK/R/l8LCwIOQ5KzUMMrPk3B75NyO6BWg6MeW7qsfAsS/d5oHoIH5EW/OHLS9x3q1KqSg3zPA7q2bA8bSom4Evzg+Vqw5sN1ADxu2BgKBo0Fi7fD2xaeOg== 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=UWg9n5NCaS+fOiBH/F1HWM0xSITTAcLhaFEVRkuvHfw=; b=EQ4WxzB1KMvZnWsTO6wSlSh5E6x2PDwfQyFkIz2W1jmNhXkvNVJp0BQ5LedAD1Bo+Y/oXig99ifbmxsVlC79QwCQ+fBuzr3zU20FO6WycAX2ibmdhP1OiPWL9xBcUMcBb8N7Injis1UHcBXQTGIuIq8BpNirSZjaCShqGwCnnuXbEw4KAxJzHOIPEZlYXEPBpfI438vvjtAL9fGD78xpzKsQBAPE2CMzAREodtJQUSF5KBIeoN8rtbO7kXD31MTFKYjMEzrUXwLqdRVLilHTqE0ju5XoDTZKSNvrGy9xTYJ5QVinrwBPYJWIxxNcIBArCHKAu+cKrNHx5EnP9jbuAg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UWg9n5NCaS+fOiBH/F1HWM0xSITTAcLhaFEVRkuvHfw=; b=ucX0MsL8UsCvdYugtSfMxk7M9KGZqCF4CjCrCFMB0nccyoWQ+TJIXjfjA945wzKmBVX3FX4lq87fG537LvIv3fvucZUZeQl+nPeF6ZCnaPGqSESUF9QSXeM/kUGSRmSRX1NZpavUbOCX8a1LqFBCdcbp+R905Ro8ntdG1kCrdHI= Received: from MW4PR03CA0160.namprd03.prod.outlook.com (2603:10b6:303:8d::15) by BY5PR12MB4936.namprd12.prod.outlook.com (2603:10b6:a03:1d4::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 14:12:16 +0000 Received: from CO1NAM11FT025.eop-nam11.prod.protection.outlook.com (2603:10b6:303:8d:cafe::22) by MW4PR03CA0160.outlook.office365.com (2603:10b6:303:8d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18 via Frontend Transport; Mon, 9 Jan 2023 14:12:15 +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 Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1NAM11FT025.mail.protection.outlook.com (10.13.175.232) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5986.18 via Frontend Transport; Mon, 9 Jan 2023 14:12:15 +0000 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.2375.34; Mon, 9 Jan 2023 08:12:10 -0600 From: "Chang, Abner" To: CC: Michael D Kinney , Liming Gao , Nickle Wang , Igor Kulchytskyy , Isaac Oram , Nate DeSimone Subject: [edk2-staging][PATCH 0/3] BMC USBNIC Platform HI Lib Date: Mon, 9 Jan 2023 22:11:21 +0800 Message-ID: <20230109141124.622-1-abner.chang@amd.com> X-Mailer: git-send-email 2.37.1.windows.1 MIME-Version: 1.0 Return-Path: Abner.Chang@amd.com 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: CO1NAM11FT025:EE_|BY5PR12MB4936:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c1c3dc0-6366-42d7-9f63-08daf24b82e6 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: o36owM4caQxSYoJi5eHt6IsfIBKgzqEecFXfUgWqDH7ie6Gm24L7ryYNfF7brwk+QrKxCWayAosWgtwrl1K3Xd/awAQBsHZ1rFfHcmxtiWhZTU8vdQFak4gRzh8gV69L+MvKClZjYwfHM1OAxujztOxxK0zgnYgNERu/QbOA4MzHm5bhoBovSE52AhsO5DCNCKWXiS6IY2adWJMLN0QD4N7h2IWtnA/zjfeueCyoIVkuDbdxSiBnDFI76anwI4J0rDcEbY3wRjiPWZHEZHKKb6cWYEAVlZCYh4clquROGpuSrDupYpjo1Mx79Pia6aQm7GDE7Q8Os/5+MyYmv5VBZYTtFSC0dQUtgfQ+7qSjQP9mWmJIrzOULk48xREN301dXwdnnvQVwGZF93BgAXHIMWTDRdoERiGMYuzK80L44i6STKpCz9CDyzqxQ4ahIzrWgcmep2v5e4gNqTfh6MQLWOXtDdGEqRy4inV2rJ7CXbk7+9flXcSN6Xc+kjzBoECcM6jEFxZG62NT//+7k04Ct1Wo+ka7JET0oHAMw8OJo56ePGkUVVCpgz5Qgih8KmeCLbzFB1kXq9n/jfNdspulJ9n/cJnOK/F6iIGQ8DPNSpqrFGVwwlurUcWjR88MYWs0T471CMFd1YWqEmZbUmLPKD31MSGV3NO9F7KF3ZiSfQ0UIl0grwwVCQetU3Zgkvw4V6/vYYqdHMr1rxHkExF3eEU8kViRW7WWa6lWtIoQVBk= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230022)(4636009)(396003)(346002)(136003)(39860400002)(376002)(451199015)(46966006)(40470700004)(36840700001)(36756003)(186003)(8936002)(26005)(6666004)(2616005)(1076003)(54906003)(81166007)(16526019)(5660300002)(40480700001)(7696005)(6916009)(4326008)(316002)(40460700003)(356005)(86362001)(82740400003)(70586007)(478600001)(41300700001)(8676002)(70206006)(82310400005)(47076005)(2906002)(83380400001)(2876002)(426003)(336012)(36860700001)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 14:12:15.7405 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 9c1c3dc0-6366-42d7-9f63-08daf24b82e6 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: CO1NAM11FT025.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4936 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain From: Abner Chang BZ #: 4282 Implement the platform Redfish host interface library that uses IPMI commands to get the network information of BMC-exposed USB NIC for building up the SMBIOS type 42 record. The prerequisites: BZ #4213, 4214 and 4231 Signed-off-by: Abner Chang Cc: Michael D Kinney Cc: Liming Gao Cc: Nickle Wang Cc: Igor Kulchytskyy Cc: Isaac Oram Cc: Nate DeSimone Abner Chang (3): RedfishPkg/Library: Redfish BMC USBNIC Host Interface RedfishPkg: Update Redfish DSC RedfishPkg: Update Readme.md RedfishPkg/RedfishPkg.dsc | 7 + .../PlatformHostInterfaceBmcUsbNicLib.inf | 44 + .../PlatformHostInterfaceBmcUsbNicLib.h | 83 ++ .../PlatformHostInterfaceBmcUsbNicLib.c | 1262 +++++++++++++++++ RedfishPkg/Readme.md | 95 +- .../Media/Emualtor Platform Library.svg | 286 ++++ .../Media/Platform wiht BMC Library.svg | 328 +++++ .../Documents/Media/USB Exposed USB NIC.svg | 283 ++++ 8 files changed, 2380 insertions(+), 8 deletions(-) create mode 100644 RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/Pl= atformHostInterfaceBmcUsbNicLib.inf create mode 100644 RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/Pl= atformHostInterfaceBmcUsbNicLib.h create mode 100644 RedfishPkg/Library/PlatformHostInterfaceBmcUsbNicLib/Pl= atformHostInterfaceBmcUsbNicLib.c create mode 100644 RedfishPkg/Documents/Media/Emualtor Platform Library.sv= g create mode 100644 RedfishPkg/Documents/Media/Platform wiht BMC Library.sv= g create mode 100644 RedfishPkg/Documents/Media/USB Exposed USB NIC.svg --=20 2.37.1.windows.1