From: Stefan Hajnoczi <stefanha@gmail.com>
To: Vincenzo Maffione <v.maffione@gmail.com>
Cc: peter.maydell@linaro.org, stefanha@redhat.com, mjt@tls.msk.ru,
qemu-devel@nongnu.org, armbru@redhat.com, aliguori@amazon.com,
pbonzini@redhat.com, g.lettieri@iet.unipi.it,
lcapitulino@redhat.com, rizzo@iet.unipi.it, rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH v6] net: Adding netmap network backend
Date: Wed, 6 Nov 2013 14:28:39 +0100 [thread overview]
Message-ID: <20131106132839.GC9059@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1383734646-16898-1-git-send-email-v.maffione@gmail.com>
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 <v.maffione@gmail.com>
> ---
> 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
next prev parent reply other threads:[~2013-11-06 13:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 10:44 [Qemu-devel] [PATCH v6] net: Adding netmap network backend Vincenzo Maffione
2013-11-06 13:28 ` Stefan Hajnoczi [this message]
2013-11-06 14:25 ` Vincenzo Maffione
2013-11-06 15:45 ` Stefan Hajnoczi
2013-11-06 19:26 ` Richard Henderson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131106132839.GC9059@stefanha-thinkpad.redhat.com \
--to=stefanha@gmail.com \
--cc=aliguori@amazon.com \
--cc=armbru@redhat.com \
--cc=g.lettieri@iet.unipi.it \
--cc=lcapitulino@redhat.com \
--cc=mjt@tls.msk.ru \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rizzo@iet.unipi.it \
--cc=rth@twiddle.net \
--cc=stefanha@redhat.com \
--cc=v.maffione@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).