DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] doc: update release notes for default KNI carries status
@ 2018-11-05 17:28 Ferruh Yigit
  2018-11-05 18:12 ` Dan Gora
  2018-11-18 23:24 ` Thomas Monjalon
  0 siblings, 2 replies; 6+ messages in thread
From: Ferruh Yigit @ 2018-11-05 17:28 UTC (permalink / raw)
  To: John McNamara, Marko Kovacevic
  Cc: dev, Ferruh Yigit, Thomas Monjalon, Dan Gora

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@intel.com>
---
Cc: Dan Gora <dg@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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-11-18 23:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05 17:28 [dpdk-dev] [PATCH] doc: update release notes for default KNI carries status Ferruh Yigit
2018-11-05 18:12 ` Dan Gora
2018-11-05 18:21   ` Ferruh Yigit
2018-11-05 18:23     ` Dan Gora
2018-11-05 18:34       ` Dan Gora
2018-11-18 23:24 ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).