[edk2] [PATCH 00/15] OvmfPkg: introduce virtio-net driver

Subject: [edk2] [PATCH 00/15] OvmfPkg: introduce virtio-net driver

From: Laszlo Ersek <lersek@redhat.com>

To: edk2-devel@lists.sourceforge.net

Date: 2013-05-03 16:09:28

The tech notes (in the first patch) should say it all.

The series adds files to the tree but doesn't include them in the build
until the last patch. The series is laid out in logical layers,
following the structure of the technical notes. Gradual compilation is
not the purpose, helping review is.

Build it with -D FD_SIZE_2MB -D NETWORK_ENABLE (you'll need the Intel
e1000 driver too in your tree for the second build option to work).

For PXE booting the patch at
 may be
necessary in addition, dependent on one's DHCP server and network setup.

Both testing and review are greatly appreciated!

Thanks,
Laszlo

Laszlo Ersek (15):
  OvmfPkg: VirtioNetDxe: add technical notes
  OvmfPkg: VirtioNetDxe: declarations and macro definitions
  OvmfPkg: VirtioNetDxe: add entry point
  OvmfPkg: VirtioNetDxe: Component Name Protocol implementation
  OvmfPkg: VirtioNetDxe: driver binding
  OvmfPkg: VirtioNetDxe: Simple Network Protocol members Start and Stop
  OvmfPkg: VirtioNetDxe: add SNP.Initialize and shared dependencies
  OvmfPkg: VirtioNetDxe: SNP.Shutdown
  OvmfPkg: VirtioNetDxe: SNP.Receive
  OvmfPkg: VirtioNetDxe: implement Tx: SNP.Transmit and SNP.GetStatus
  OvmfPkg: VirtioNetDxe: map multicast IP to MAC: SNP.McastIpToMac
  OvmfPkg: VirtioNetDxe: emulate Rx filter configuration:
    SNP.ReceiveFilters
  OvmfPkg: VirtioNetDxe: definitions of unsupported SNP member
    functions
  OvmfPkg: VirtioNetDxe: WaitForPacket and EXIT_BOOT_SERVICES event
    callbacks
  OvmfPkg: enable building VirtioNetDxe

 OvmfPkg/Include/IndustryStandard/VirtioNet.h |   99 ++++
 OvmfPkg/VirtioNetDxe/VirtioNet.h             |  285 +++++++++++
 OvmfPkg/VirtioNetDxe/ComponentName.c         |  179 +++++++
 OvmfPkg/VirtioNetDxe/DriverBinding.c         |  676 ++++++++++++++++++++++++++
 OvmfPkg/VirtioNetDxe/EntryPoint.c            |   52 ++
 OvmfPkg/VirtioNetDxe/Events.c                |   92 ++++
 OvmfPkg/VirtioNetDxe/SnpGetStatus.c          |  160 ++++++
 OvmfPkg/VirtioNetDxe/SnpInitialize.c         |  461 ++++++++++++++++++
 OvmfPkg/VirtioNetDxe/SnpMcastIpToMac.c       |  110 +++++
 OvmfPkg/VirtioNetDxe/SnpReceive.c            |  190 ++++++++
 OvmfPkg/VirtioNetDxe/SnpReceiveFilters.c     |  107 ++++
 OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c      |   53 ++
 OvmfPkg/VirtioNetDxe/SnpShutdown.c           |   80 +++
 OvmfPkg/VirtioNetDxe/SnpStart.c              |   66 +++
 OvmfPkg/VirtioNetDxe/SnpStop.c               |   67 +++
 OvmfPkg/VirtioNetDxe/SnpTransmit.c           |  171 +++++++
 OvmfPkg/VirtioNetDxe/SnpUnsupported.c        |  162 ++++++
 OvmfPkg/OvmfPkgIa32.dsc                      |    1 +
 OvmfPkg/OvmfPkgIa32.fdf                      |    1 +
 OvmfPkg/OvmfPkgIa32X64.dsc                   |    1 +
 OvmfPkg/OvmfPkgIa32X64.fdf                   |    1 +
 OvmfPkg/OvmfPkgX64.dsc                       |    1 +
 OvmfPkg/OvmfPkgX64.fdf                       |    1 +
 OvmfPkg/VirtioNetDxe/TechNotes.txt           |  355 ++++++++++++++
 OvmfPkg/VirtioNetDxe/VirtioNet.inf           |   60 +++
 25 files changed, 3431 insertions(+), 0 deletions(-)
 create mode 100644 OvmfPkg/Include/IndustryStandard/VirtioNet.h
 create mode 100644 OvmfPkg/VirtioNetDxe/VirtioNet.h
 create mode 100644 OvmfPkg/VirtioNetDxe/ComponentName.c
 create mode 100644 OvmfPkg/VirtioNetDxe/DriverBinding.c
 create mode 100644 OvmfPkg/VirtioNetDxe/EntryPoint.c
 create mode 100644 OvmfPkg/VirtioNetDxe/Events.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpGetStatus.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpInitialize.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpMcastIpToMac.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpReceive.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpReceiveFilters.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpSharedHelpers.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpShutdown.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpStart.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpStop.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpTransmit.c
 create mode 100644 OvmfPkg/VirtioNetDxe/SnpUnsupported.c
 create mode 100644 OvmfPkg/VirtioNetDxe/TechNotes.txt
 create mode 100644 OvmfPkg/VirtioNetDxe/VirtioNet.inf


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel