]> git.proxmox.com Git - mirror_edk2.git/commit
RedfishPkg/RedfishDiscoverDxe: Install protocol on each network interface
authorAbner Chang <abner.chang@amd.com>
Tue, 30 Aug 2022 04:15:47 +0000 (12:15 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 6 Sep 2022 10:09:41 +0000 (10:09 +0000)
commitf7da805b506034f50ebf7d9c2a247a80ee8e987a
tree798b744039c8c35888da01b200faaff3cc9ca92a
parent39596c41c82d9472f8a9f448b435e77afccc23a5
RedfishPkg/RedfishDiscoverDxe: Install protocol on each network interface

BZ 4037:
Install EFI_DISCOVER_PROTOCOL on each network interface.

This fixes the issue that causes the high-level Redfish driver
on the network interface is stopped when:
1. EFI_DISCOVER_PROTOCOL is reinstalled on a new-found network
   interface, or
2. EFI_DISCOVER_PROTOCOL is stopped on the network interface
   other than the one which is used to communicate with Redfish
   service.

Cc: Nickle Wang <nickle@csie.io>
Cc: Igor Kulchytskyy <igork@ami.com>
Signed-off-by: Abner Chang <abner.chang@amd.com>
Reviewed-by: Nickle Wang <nickle@csie.io>
Reviewed-by: Igor Kulchytskyy <igork@ami.com>
RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverDxe.c
RedfishPkg/RedfishDiscoverDxe/RedfishDiscoverInternal.h