On 9/12/2018 12:29 AM, Dan Gora wrote: > 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 <d...@adax.com>
+1 to sysfs implementation. But right now this API is not used at all which makes it hard to test and catch when API broken. Can you please implement the API either on kni sample app or kni unit test? Also you need to add new API to .map file for shared library build. (you would catch this if API implemented somewhere...)