net/tap: improve link update
net/tap: improve link update

Reflect device link status according to the state of the tap netdevice
and the remote netdevice (if any). If both are UP and RUNNING, then the
device link status is set to ETH_LINK_UP, otherwise ETH_LINK_DOWN.

Signed-off-by: Pascal Mazon <f8a8edbbccb52ea5be26461cb34f4752a08c0c30@6wind.com>
Acked-by: Keith Wiles <f97a07384723981b442bf4ce37d40edbfd008094@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk