Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add UEFI Adapter Information Protocol Support #73

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pnewman-cti
Copy link
Contributor

This adds support for the UEFI Adapter Information Protocol (AIP) for Nvidia
Ethernet controllers. This fixes an issue where PXE does not load if
the network interface is not ready (MediaPresent) when the PXE driver starts.

Without AIP support NetLibDetectMediaWaitTimeout() will check if the network
interface is ready only once. If it is not then it cancels PXE boot. This
means if the network interface is slow to link the system will not attempt
to PXE boot.

When AIP support is availible NetLibDetectMediaWaitTimeout() will poll for
"MediaPresent" to be "TRUE" or until it times out.

Based on: edk2-platforms/Silicon/Broadcom/Drivers/Net/BcmGenetDxe/
Found at: https://github.com/tianocore/edk2-platforms/

Signed-off-by: Parker Newman [email protected]

This adds support for the UEFI Adapter Information Protocol (AIP) for Nvidia
Ethernet controllers. This fixes an issue where PXE does not load if
the network interface is not ready (MediaPresent) when the PXE driver starts.

Without AIP support NetLibDetectMediaWaitTimeout() will check if the network
interface is ready only once. If it is not then it cancels PXE boot. This
means if the network interface is slow to link the system will not attempt
to PXE boot.

When AIP support is availible NetLibDetectMediaWaitTimeout() will poll for
"MediaPresent" to be "TRUE" or until it times out.

Based on: edk2-platforms/Silicon/Broadcom/Drivers/Net/BcmGenetDxe/
Found at: https://github.com/tianocore/edk2-platforms/

Signed-off-by: Parker Newman <[email protected]>
@jbrasen jbrasen added In Internal Review In review in nvidia internal process Pending Next Release Code is in interal repo pending next public release and removed In Internal Review In review in nvidia internal process labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pending Next Release Code is in interal repo pending next public release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants