RedfishPkg/HostInterfaceBmcUsbNic: Set default Redfish service port

BZ #4607
Create a PCD for the default Redfish service port.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Nickle Wang <nicklew@nvidia.com>
Cc: Igor Kulchytskyy <igork@ami.com>
Cc: Mike Maslenkin <mike.maslenkin@gmail.com>
Reviewed-by: Nickle Wang <nicklew@nvidia.com>
This commit is contained in:
Abner Chang
2023-11-28 21:14:19 +08:00
committed by mergify[bot]
parent 534021965f
commit 70b174e24d
3 changed files with 8 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ RedfishPlatformHostInterfaceProtocolData (
);
// RedfishServiceIpPort
RedfishOverIpData->RedfishServiceIpPort = 0;
RedfishOverIpData->RedfishServiceIpPort = PcdGet16 (PcdRedfishServicePort);
// RedfishServiceVlanId
RedfishOverIpData->RedfishServiceVlanId = ThisInstance->VLanId;