Vincenzo Maffione ab685220f6 net: netmap: use nm_open() to open netmap ports
This patch simplifies the netmap backend code by means of the nm_open()
helper function provided by netmap_user.h, which hides the details of
open(), iotcl() and mmap() carried out on the netmap device.

Moreover, the semantic of nm_open() makes it possible to open special
netmap ports (e.g. pipes, monitors) and use special modes (e.g. host rings
only, single queue mode, exclusive access).

Signed-off-by: Vincenzo Maffione <v.maffione@gmail.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2016-02-04 14:13:11 +08:00
..
2016-01-11 12:56:58 +00:00
2015-11-02 08:30:27 +01:00
2016-01-11 11:01:35 +08:00
2015-11-02 08:30:27 +01:00
2015-11-02 08:30:27 +01:00
2015-11-02 08:30:27 +01:00