From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by dpdk.org (Postfix) with ESMTP id 857F84CBD for ; Mon, 5 Nov 2018 20:54:48 +0100 (CET) Received: by mail-qt1-f182.google.com with SMTP id i7so10925qtj.10 for ; Mon, 05 Nov 2018 11:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6llqTyRgXXgEidY1GO9P3cTgr/HOEgSQ113MWKxFCMw=; b=HS8pG5bffsa9wO+eOqsttVFNw75+hU5cGvPmVAJTUo8XH0A9I2qKSdRbSEBj6tvYhh Vhcf5Mz83bfiQzzIkVJbZ9j4Fui8FOW7I1U0m1COEeN56REmEOPASlEZSyoVti1rnwIN Eopk8oZWDPPpdq5y4DUtpUR47J9XxPNrx1edUiW7YnCDjR7X1qf39EZvlaSDN+USl/L/ aR+54mwqec1GlgtCEH2jY+BoVVU0EZ0wngzwPUTVxV4/+i92xspCmJjFeqMsNxF1wie5 q2cg/wit5LN//aXUF0D0YLWaedtG31Hl8a9nN9GJ9D4hjQaMP6CcUjyhD14pCUoEGmjn UvTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=6llqTyRgXXgEidY1GO9P3cTgr/HOEgSQ113MWKxFCMw=; b=oxyFL/m30WYpuldo2A9tfOe+dGqUCEuIqLgzJU0oEgHMBASDLUtSNz1OGsydvs7+Jq 5OxzSnKCh1VOJTk5v6CEHP2ridgTmEOQCSPKUi+KIMLPDQsnYz/6FuDr89bSrRAzqOOU iNX1lo4L6XW8W327mmbtqkWQLEb8+k0r9HuLxT4IiDAqqnhB3P1DbTPrMLHjvPNLpVNF IhoK8skEKmTj770upBU2ePxCL/UGCEixUNCks7MrrcT4qGIlb+odA/pR/TkK87Tkh9BL JYjmn3W69GGpmas3DGh0Bwcx2v9lY4H7NPGRUo4+7MvDt38icXmwZFKSeLHrvqeNz/wZ q/cQ== X-Gm-Message-State: AGRZ1gKc2JF3kMxCcSs0FMa6/d7P8C1OSQz+fanxnGADXKkwnHBQw8ut aTGa8+AHdapXyHG+jFnYr9bItZ8L X-Google-Smtp-Source: AJdET5f/NgFo552use7ZtNL6SuRQI6Pd/tAmQbCsAe6nU9EJwxv85mxs5UwuVUn/QQ9EprPTtV8Ehw== X-Received: by 2002:ac8:4454:: with SMTP id m20mr22014757qtn.381.1541447687362; Mon, 05 Nov 2018 11:54:47 -0800 (PST) Received: from snappy.local.lan (201-1-221-106.dsl.telesp.net.br. [201.1.221.106]) by smtp.gmail.com with ESMTPSA id s21-v6sm33341903qth.11.2018.11.05.11.54.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Nov 2018 11:54:46 -0800 (PST) Sender: Dan Gora From: Dan Gora To: dev@dpdk.org Cc: Ferruh Yigit , Dan Gora , John McNamara , Marko Kovacevic Date: Mon, 5 Nov 2018 17:54:13 -0200 Message-Id: <20181105195413.24431-1-dg@adax.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181105182934.20599-1-dg@adax.com> References: <20181105182934.20599-1-dg@adax.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v2] doc: add kni changes to release note 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: , X-List-Received-Date: Mon, 05 Nov 2018 19:54:48 -0000 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. Signed-off-by: Dan Gora --- 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 cfa92b8c0..9486faa1f 100644 --- a/doc/guides/rel_notes/release_18_11.rst +++ b/doc/guides/rel_notes/release_18_11.rst @@ -301,6 +301,25 @@ New Features computation to the NIST Cryptographic Algorithm Validation Program (CAVP) test vectors. +* **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. + API Changes ----------- -- 2.19.0