[dpdk-dev] [PATCH v2 10/10] kni: add API to set link status on kernel interface
Stephen Hemminger
stephen at networkplumber.org
Wed Aug 29 17:54:10 CEST 2018
On Thu, 28 Jun 2018 18:55:08 -0700
Dan Gora <dg at adax.com> 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.
>
> Signed-off-by: Dan Gora <dg at adax.com>
Do you really need a special ioctl for this?
There is already ability to set link state via sysfs or netlink.
More information about the dev
mailing list