kni: add link status update
authorVijayakumar Muthuvel Manickam <mmvijay@gmail.com>
Tue, 16 Jun 2015 06:39:54 +0000 (02:39 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 16 Jun 2015 14:26:37 +0000 (16:26 +0200)
commitc077fb455f7e298041a8bc8f5de1544df8b42282
treecbfa867126ac54b45dcaf2f59feb3778963458ba
parentfdaff83d1ee1519662c74e9b4e2b51d55007a659
kni: add link status update

Implement .ndo_change_carrier to enable
DPDK applications to propagate link state changes to
kni virtual interfaces through sysfs

Signed-off-by: Vijayakumar Muthuvel Manickam <mmvijay@gmail.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
lib/librte_eal/linuxapp/kni/kni_net.c