[dpdk-dev] [PATCH] doc: update release notes for default KNI carries status

Ferruh Yigit ferruh.yigit at intel.com
Mon Nov 5 18:28:44 CET 2018


Commit 89397a01ce4a ("kni: set default carrier state of interface")
changes the KNI interface default carrier status. Which prevents traffic
flow by default and may break some existing usage / testing.

Document this behavior change in release notes.

Signed-off-by: Ferruh Yigit <ferruh.yigit at intel.com>
---
Cc: Dan Gora <dg at adax.com>
---
 doc/guides/rel_notes/release_18_11.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst
index 6ce276b22..69c4d1bf6 100644
--- a/doc/guides/rel_notes/release_18_11.rst
+++ b/doc/guides/rel_notes/release_18_11.rst
@@ -383,6 +383,13 @@ API Changes
   This means ``ethtool "-a|--show-pause", "-s|--change"`` won't work, and
   ``ethtool <iface>`` output will have less information.
 
+* KNI, by default interface carrier status is ``off`` which means there won't be any traffic.
+  It can be set to ``on`` via ``rte_kni_update_link()`` API or via ``sysfs`` interface:
+  ``echo 1 > /sys/class/net/vEth0/carrier``. Note interface should be ``up`` to be able
+  to read/write sysfs interface.
+  When KNI sample application is used ``-m`` parameter can be used to automatically update
+  the carrier status for the interface.
+
 
 ABI Changes
 -----------
-- 
2.17.2



More information about the dev mailing list