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


Reply via email to