TianoCore EDK2 master
|
#include "Snp.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | PxeReset (SNP_DRIVER *Snp) |
EFI_STATUS EFIAPI | SnpUndi32Reset (IN EFI_SIMPLE_NETWORK_PROTOCOL *This, IN BOOLEAN ExtendedVerification) |
Implementation of resetting a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Reset.c.
EFI_STATUS PxeReset | ( | SNP_DRIVER * | Snp | ) |
EFI_STATUS EFIAPI SnpUndi32Reset | ( | IN EFI_SIMPLE_NETWORK_PROTOCOL * | This, |
IN BOOLEAN | ExtendedVerification | ||
) |
Resets a network adapter and reinitializes it with the parameters that were provided in the previous call to Initialize().
This function resets a network adapter and reinitializes it with the parameters that were provided in the previous call to Initialize(). The transmit and receive queues are emptied and all pending interrupts are cleared. Receive filters, the station address, the statistics, and the multicast-IP-to-HW MAC addresses are not reset by this call. If the network interface was successfully reset, then EFI_SUCCESS will be returned. If the driver has not been initialized, EFI_DEVICE_ERROR will be returned.
This | A pointer to the EFI_SIMPLE_NETWORK_PROTOCOL instance. |
ExtendedVerification | Indicates that the driver may perform a more exhaustive verification operation of the device during reset. |
EFI_SUCCESS | The network interface was reset. |
EFI_NOT_STARTED | The network interface has not been started. |
EFI_INVALID_PARAMETER | One or more of the parameters has an unsupported value. |
EFI_DEVICE_ERROR | The command could not be sent to the network interface. |
EFI_UNSUPPORTED | This function is not supported by the network interface. |