OvmfPkg/VirtioNetDxe: add helper VirtioNetUninitRing()
Consolidate the virtio VRING resource cleanup into VirtioNetUninitRing(). Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Regression-tested-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
committed by
Laszlo Ersek
parent
b30abe7df4
commit
55dd5a673b
@@ -263,6 +263,13 @@ VirtioNetShutdownTx (
|
||||
IN OUT VNET_DEV *Dev
|
||||
);
|
||||
|
||||
VOID
|
||||
EFIAPI
|
||||
VirtioNetUninitRing (
|
||||
IN OUT VNET_DEV *Dev,
|
||||
IN OUT VRING *Ring
|
||||
);
|
||||
|
||||
//
|
||||
// event callbacks
|
||||
//
|
||||
|
Reference in New Issue
Block a user