net/tap: add link status notification
authorPascal Mazon <pascal.mazon@6wind.com>
Wed, 22 Mar 2017 08:40:01 +0000 (09:40 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 16:59:47 +0000 (18:59 +0200)
commitc0bddd3a057f1ef34d2d5aa69e7338caa82de2bf
treeaec0564365c535208573a77af7473f3d4d192ac7
parent0b3e4ab9bf96aba051f9fce88062250dc86ee328
net/tap: add link status notification

As tap is a virtual device, there's no physical way a link can be cut.
However, it has an associated kernel netdevice and possibly a remote
netdevice too. These netdevices link status may change outside of the
DPDK scope, through an external command such as:

  ip link set dev tapX down

This commit implements link status notification through netlink.

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
Acked-by: Keith Wiles <keith.wiles@intel.com>
doc/guides/nics/features/tap.ini
drivers/net/tap/rte_eth_tap.c
drivers/net/tap/rte_eth_tap.h
drivers/net/tap/tap_netlink.c
drivers/net/tap/tap_netlink.h
drivers/net/tap/tap_tcmsgs.c