net/tap: access primary process queues from secondary
authorRaslan Darawsheh <rasland@mellanox.com>
Thu, 18 Oct 2018 10:17:29 +0000 (13:17 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:05 +0000 (22:14 +0200)
commitc9aa56edec8ee3d210904c36e145a592a8a56218
treea03dfa64fb272127de1062d68a43e2e418a391ec
parented8132e7c91202abfeccc2f9e39c334df2f5db69
net/tap: access primary process queues from secondary

In the case the device is created by the primary process,
the secondary must request some file descriptors to attach the queues.
The file descriptors are shared via IPC Unix socket.

Thanks to the IPC synchronization, the secondary process
is now able to do Rx/Tx on a TAP created by the primary process.

Signed-off-by: Raslan Darawsheh <rasland@mellanox.com>
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
doc/guides/nics/tap.rst
doc/guides/rel_notes/release_18_11.rst
drivers/net/tap/Makefile
drivers/net/tap/meson.build
drivers/net/tap/rte_eth_tap.c