git: virtio: Add indirect buffers support to common virtio code.
Imre Vadasz
ivadasz at crater.dragonflybsd.org
Sun Nov 1 11:27:48 PST 2015
commit cb6e1f75aea07ad188b0c46884f53883f948f044
Author: Imre Vadász <imre at vdsz.com>
Date: Fri Oct 30 23:15:40 2015 +0100
virtio: Add indirect buffers support to common virtio code.
* Uses contigmalloc instead of kmalloc for allocating the indirect
descriptors, because DragonFly's kmalloc doesn't return sufficiently
aligned or physically contiguous memory.
Taken-From: FreeBSD
Summary of changes:
sys/dev/virtual/virtio/virtio/virtio.h | 13 ++
sys/dev/virtual/virtio/virtio/virtio_ring.h | 2 +
sys/dev/virtual/virtio/virtio/virtqueue.c | 185 +++++++++++++++++++++++++++-
sys/dev/virtual/virtio/virtio/virtqueue.h | 2 +
4 files changed, 197 insertions(+), 5 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cb6e1f75aea07ad188b0c46884f53883f948f044
--
DragonFly BSD source repository
More information about the Commits
mailing list