[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] net: netmap: use nm_open() to open netmap port
From: |
Vincenzo Maffione |
Subject: |
[Qemu-devel] [PATCH 0/2] net: netmap: use nm_open() to open netmap port |
Date: |
Fri, 8 Jan 2016 14:15:15 +0100 |
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.
Vincenzo Maffione (2):
net: netmap: use nm_open() to open netmap ports
net: netmap: avoid mmap() when ports use the same shared memory area
net/netmap.c | 129 ++++++++++++++++++++++++++++++-----------------------------
1 file changed, 66 insertions(+), 63 deletions(-)
--
2.7.0
- [Qemu-devel] [PATCH 0/2] net: netmap: use nm_open() to open netmap port,
Vincenzo Maffione <=