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

Ferruh Yigit ferruh.yigit at intel.com
Wed Aug 29 13:48:24 CEST 2018


On 6/29/2018 2:55 AM, Dan Gora wrote:
> Add a new API function to KNI, rte_kni_update_link() to allow DPDK
> applications to update the link state for the KNI network interfaces
> in the linux kernel.
> 
> Note that the default carrier state is set to off when the interface
> is opened.

Why set carrier off when interface opened? Although I don't see any difference
in interface state with or without this call.

> 
> Signed-off-by: Dan Gora <dg at adax.com>

Overall looks good to me.



More information about the dev mailing list