From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNlpu-0007R8-1f for qemu-devel@nongnu.org; Mon, 25 Jan 2016 13:25:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNlpp-0002Rw-Qr for qemu-devel@nongnu.org; Mon, 25 Jan 2016 13:25:57 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:32930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNlpp-0002RW-Je for qemu-devel@nongnu.org; Mon, 25 Jan 2016 13:25:53 -0500 Received: by mail-wm0-x241.google.com with SMTP id u188so12893233wmu.0 for ; Mon, 25 Jan 2016 10:25:53 -0800 (PST) From: Vincenzo Maffione Date: Mon, 25 Jan 2016 19:24:34 +0100 Message-Id: Subject: [Qemu-devel] [PATCH v2] net: netmap: use nm_open() to open netmap port List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: g.lettieri@iet.unipi.it, rizzo@iet.unipi.it, jasowang@redhat.com, Vincenzo Maffione 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