vhost-net: mergeable buffers support
authorDavid Stevens <dlstevens@us.ibm.com>
Tue, 27 Jul 2010 15:52:21 +0000 (18:52 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Jul 2010 12:45:36 +0000 (15:45 +0300)
commit8dd014adfea6f173c1ef6378f7e5e7924866c923
tree303df47f73c53cc4c919e3f8aca8245d50d76a08
parent9e3d195720d1c8b1e09013185ab8c3b749180fc2
vhost-net: mergeable buffers support

This adds support for mergeable buffers in vhost-net: this is needed
for older guests without indirect buffer support, as well
as for zero copy with some devices.

Includes changes by Michael S. Tsirkin to make the
patch as low risk as possible (i.e., close to no changes
when feature is disabled).

Signed-off-by: David Stevens <dlstevens@us.ibm.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
drivers/vhost/vhost.c
drivers/vhost/vhost.h