From 45acbb1f25f2e7039ece2412f9bbba475a80eaf6 Mon Sep 17 00:00:00 2001 From: Dan Gora Date: Mon, 5 Nov 2018 17:54:13 -0200 Subject: [PATCH] doc: add new KNI features to release notes Add the new module parameter for the KNI kernel module, the new command line flag for the KNI sample application, and the new API function 'rte_kni_update_link()' to the release note. Fixes: c6fd54f28c24 ("kni: add function to set link state on kernel interface") Fixes: 89397a01ce4a ("kni: set default carrier state of interface") Fixes: 724beb913b44 ("examples/kni: monitor and update link state continually") Signed-off-by: Dan Gora Acked-by: Ferruh Yigit --- doc/guides/rel_notes/release_18_11.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst index a94e744632..95a187b970 100644 --- a/doc/guides/rel_notes/release_18_11.rst +++ b/doc/guides/rel_notes/release_18_11.rst @@ -279,6 +279,25 @@ New Features their telemetry via a UNIX socket in JSON. The JSON can be consumed by any Service Assurance agent, such as CollectD. +* **Updated KNI kernel module, rte_kni library, and KNI sample application.** + + Updated the KNI kernel module with a new kernel module parameter, + ``carrier=[on|off]`` to allow the user to control the default carrier + state of KNI kernel network interfaces. The default carrier state + is now set to ``off``, so the interfaces cannot be used until the + carrier state is set to ``on`` via ``rte_kni_update_link`` or + by writing ``1`` to ``/sys/devices/virtual/net//carrier``. + In previous versions the default carrier state was left undefined. + See :doc:`../prog_guide/kernel_nic_interface` for more information. + + Added the new API function ``rte_kni_update_link`` to allow the user + to set the carrier state of the KNI kernel network interface. + + Added a new command line flag ``-m`` to the KNI sample application to + monitor and automatically reflect the physical NIC carrier state to the + KNI kernel network interface with the new ``rte_kni_update_link`` API. + See :doc:`../sample_app_ug/kernel_nic_interface` for more information. + * **Added ability to switch queue deferred start flag on testpmd app.** Added a console command to testpmd app, giving ability to switch -- 2.20.1