From patchwork Mon Nov 5 17:28:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ferruh Yigit X-Patchwork-Id: 47824 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AF7934CE4; Mon, 5 Nov 2018 18:28:51 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id BD18B4CC5 for ; Mon, 5 Nov 2018 18:28:50 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2018 09:28:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,468,1534834800"; d="scan'208";a="105450900" Received: from silpixa00399752.ir.intel.com (HELO silpixa00399752.ger.corp.intel.com) ([10.237.222.212]) by fmsmga001.fm.intel.com with ESMTP; 05 Nov 2018 09:28:47 -0800 From: Ferruh Yigit To: John McNamara , Marko Kovacevic Cc: dev@dpdk.org, Ferruh Yigit , Thomas Monjalon , Dan Gora Date: Mon, 5 Nov 2018 17:28:44 +0000 Message-Id: <20181105172844.72228-1-ferruh.yigit@intel.com> X-Mailer: git-send-email 2.17.2 Subject: [dpdk-dev] [PATCH] doc: update release notes for default KNI carries status X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- Cc: Dan Gora --- 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 `` 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 -----------