On Thu, 28 Jun 2018 18:55:08 -0700 Dan Gora <d...@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 <d...@adax.com>
Do you really need a special ioctl for this? There is already ability to set link state via sysfs or netlink.