svn commit: r276468 - projects/ifnet/sys/dev/virtio/network
Gleb Smirnoff
glebius at FreeBSD.org
Wed Dec 31 10:25:15 UTC 2014
On Wed, Dec 31, 2014 at 10:08:18AM +0000, Gleb Smirnoff wrote:
T> Author: glebius
T> Date: Wed Dec 31 10:08:17 2014
T> New Revision: 276468
T> URL: https://svnweb.freebsd.org/changeset/base/276468
T>
T> Log:
T> Convert vtnet(4) to new interface API. This is a more complex example than
T> loop(4) and can be used as reference when converting other drivers.
Now projects/ifnet can compile and run a minimal kernel that runs
in virtual machine environment, having only "device loop" and
"device vtnet" in kernel config and no modules.
The above commits were done from a system running projects/ifnet,
so it kinda works :)
Now heavy lifting needs to be performed:
- Convert as much drivers as possible. This is a very big piece
of work.
- Fix ALTQ to mask if_output instead of mask ifqueue,
delete ifqueue.
- Fix lagg(4) to mask if_output.
Of course experience of converting just two drivers isn't enough to
build a perfect API, so the API is about to change as we are going
through drivers.
So, this email is official request to review projects/ifnet, comment
on it, provide input, and try to convert a driver that you are
running on your testbox, desktop or laptop.
--
Totus tuus, Glebius.
More information about the svn-src-projects
mailing list