qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v6] net: Adding netmap network backend


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v6] net: Adding netmap network backend
Date: Wed, 6 Nov 2013 14:28:39 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Nov 06, 2013 at 11:44:06AM +0100, Vincenzo Maffione wrote:
> This patch adds support for a network backend based on netmap.
> netmap is a framework for high speed packet I/O. You can use it
> to build extremely fast traffic generators, monitors, software
> switches or network middleboxes. Its companion software switch
> VALE lets you interconnect virtual machines.
> netmap and VALE are implemented as a non-intrusive kernel module,
> support NICs from multiple vendors, are part of standard FreeBSD
> distributions and available in source format for Linux too.
> 
> To compile QEMU with netmap support, use the following configure
> options:
>     ./configure [...] --enable-netmap --extra-cflags=-I/path/to/netmap/sys
> where "/path/to/netmap" contains the netmap source code, available at
>     http://info.iet.unipi.it/~luigi/netmap/
> 
> The same webpage contains more information about the netmap project
> (together with papers and presentations).
> 
> Signed-off-by: Vincenzo Maffione <address@hidden>
> ---
> Changes:
>  - Misspelling error (err --> errno) fixed.
>  - Early return also in netmap_receive().
>  - Help/qapi-schema modified, since with netmap backend you can also
>    directly connect to a netmap-supported host network interface,
>    as well as to a VALE switch port.
> 
>  configure         |  32 ++++
>  hmp-commands.hx   |   4 +-
>  net/Makefile.objs |   1 +
>  net/clients.h     |   5 +
>  net/net.c         |   6 +
>  net/netmap.c      | 435 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  qapi-schema.json  |  24 ++-
>  qemu-options.hx   |   9 ++
>  8 files changed, 513 insertions(+), 3 deletions(-)
>  create mode 100644 net/netmap.c

Thanks, applied to my net-next tree for QEMU 1.8:
https://github.com/stefanha/qemu/commits/net-next

Will you be around to maintain and test this in the future?  Please add
yourself to the ./MAINTAINERS file for net/netmap.c and submit a patch.

It's important we have someone who can keep this code working over time.
Otherwise the feature may get dropped again due to bitrot.

Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]