kni: add function to set link state on kernel interface
authorDan Gora <dg@adax.com>
Wed, 24 Oct 2018 22:26:27 +0000 (19:26 -0300)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 17:46:15 +0000 (19:46 +0200)
commitc6fd54f28c24ba0b3912a1746c4a2b810ffa89c4
tree931d9cf5198e0ea83f590b4920186c92ab4775d1
parentfd5f33323e5a698941db03908d5bd1fa91016b7e
kni: add function to set link state on kernel interface

Add a new API function to KNI, rte_kni_update_link() to allow DPDK
applications to update the link status for KNI network interfaces in
the linux kernel.

Signed-off-by: Dan Gora <dg@adax.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_kni/rte_kni.c
lib/librte_kni/rte_kni.h
lib/librte_kni/rte_kni_version.map
test/test/test_kni.c