]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/VirtioNetDxe: document Rx/Tx allocs and mappings on Init/Shutdown
authorLaszlo Ersek <lersek@redhat.com>
Fri, 15 Sep 2017 08:14:53 +0000 (10:14 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Fri, 22 Sep 2017 13:01:29 +0000 (15:01 +0200)
commit53b55831e01f2050dbd9fd110758b7e5d96d0ae4
tree913e0dcac5d838451ef00050dfbf04f145b4805e
parentf9c59fa44ae29924781e235b9709a8119f62f1c3
OvmfPkg/VirtioNetDxe: document Rx/Tx allocs and mappings on Init/Shutdown

Document the following actions on the

  EfiSimpleNetworkStarted <-> EfiSimpleNetworkInitialized

state transitions:

* from commit 46b11f00ac70 ("OvmfPkg/VirtioNetDxe: alloc RxBuf using
  AllocateSharedPages()", 2017-09-14):

  VirtioNetInitRx ->
  { VirtIo->AllocateSharedPages, VirtioMapAllBytesInSharedBuffer }

  VirtioNetShutdownRx ->
  { VirtIo->UnmapSharedBuffer, VirtIo->FreeSharedPages }

* from commit 891f016c1b99 ("OvmfPkg/VirtioNetDxe: dynamically alloc
  transmit header", 2017-09-14):

  VirtioNetInitTx ->
  { VirtIo->AllocateSharedPages, VirtioMapAllBytesInSharedBuffer }

  VirtioNetShutdownTx ->
  { VirtIo->UnmapSharedBuffer, VirtIo->FreeSharedPages }

Cc: Brijesh Singh <brijesh.singh@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
OvmfPkg/VirtioNetDxe/TechNotes.txt