[dpdk-dev] [PATCH 1/2] kni: add API to set link status on kernel interface

Ferruh Yigit ferruh.yigit at intel.com
Tue Sep 18 18:54:09 CEST 2018


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 <dg at 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...)


More information about the dev mailing list