All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vincenzo Maffione <v.maffione@gmail.com>
To: qemu-devel@nongnu.org
Cc: g.lettieri@iet.unipi.it, rizzo@iet.unipi.it, jasowang@redhat.com,
	Vincenzo Maffione <v.maffione@gmail.com>
Subject: [Qemu-devel] [PATCH v2] net: netmap: use nm_open() to open netmap port
Date: Mon, 25 Jan 2016 19:24:34 +0100	[thread overview]
Message-ID: <cover.1453746085.git.v.maffione@gmail.com> (raw)

Current implementation of netmap backend still uses the low level netmap
API to open, register and close netmap ports. However, the netmap_user.h
header provides some helper functions that make these tasks easier, with
the additional advantage of extended interface name semantic.

As an example, the extended semantic allows to open a netmap pipe over
a VALE port by specifying an interface name in the form "valeXX:YY{ZZ".
Other suffixes are used for netmap monitors, exclusive access, and to
specify special binding mode (e.g. single queue, RX-only, TX-only, etc.).
Details can be found in the netmap man page and in the netmap API headers.

CHANGELOG:
 - dropped patch 2, since it requires further rearrangements on our side.

Vincenzo Maffione (1):
  net: netmap: use nm_open() to open netmap ports

 net/netmap.c | 97 ++++++++++++++++++++----------------------------------------
 1 file changed, 32 insertions(+), 65 deletions(-)

-- 
2.7.0

             reply	other threads:[~2016-01-25 18:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-25 18:24 Vincenzo Maffione [this message]
2016-01-25 18:24 ` [Qemu-devel] [PATCH v2] net: netmap: use nm_open() to open netmap ports Vincenzo Maffione
2016-01-27  4:34   ` Jason Wang

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=cover.1453746085.git.v.maffione@gmail.com \
    --to=v.maffione@gmail.com \
    --cc=g.lettieri@iet.unipi.it \
    --cc=jasowang@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=rizzo@iet.unipi.it \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.