[dpdk-dev] [PATCH 0/2] kni: add API to set link status on kernel interface
Dan Gora
dg at adax.com
Wed Sep 12 01:14:03 CEST 2018
Hi All,
The following patches are to add support for DPDK applications to be
able to change the carrier state of Linux network interfaces in the
KNI kernel module.
The carrier state is changed by writing to the Linux /sys file:
/sys/devices/virtual/net/<name>/carrier, where <name> is the KNI
interface name.
These patches supercede:
'[PATCH v2 10/10] kni: add API to set link status on kernel interface'
Message-Id: <20180629015508.26599-11-dg at adax.com>
Dan Gora (2):
kni: add API to set link status on kernel interface
kni: set default carrier state to 'off'
kernel/linux/kni/kni_misc.c | 2 ++
kernel/linux/kni/kni_net.c | 2 ++
lib/librte_kni/rte_kni.c | 57 +++++++++++++++++++++++++++++++++++++
lib/librte_kni/rte_kni.h | 18 ++++++++++++
4 files changed, 79 insertions(+)
--
2.19.0
More information about the dev
mailing list