From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com [209.85.222.193]) by dpdk.org (Postfix) with ESMTP id 576574C8C for ; Mon, 5 Nov 2018 19:29:51 +0100 (CET) Received: by mail-qk1-f193.google.com with SMTP id 189so16503479qkj.8 for ; Mon, 05 Nov 2018 10:29:51 -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:mime-version :content-transfer-encoding; bh=KnDRDoJ4nqYPqTSH2mbYdk4yh6tu5+CXWIXHPbzpuEI=; b=Rf3WxhpI1fDR1MqrAsMvPL0ER3AQX0N4MfE7atgf9bVyFj25vPzR3gaQnVDKvpysVb Zi6SiSQjTyvSrk4O0zwUuEOIm9n5g2MYCgOdjo2+z2MyFh6nK2vpPyitGLXKrm1Zf5DO B90699Www1djoRqYT95fUMVrJutJ6ir1GYxljcM8OZz5pV3LGOUu+E8QwWHCHGUIdw1x 22BT7H0knk+2kK4g5X88T3Ny2eprNEvjTDRgkmZ5gS6Le6iWa7MEgSZWPvJ2dQLqLzns 5KKL5gzDZyRs80yFyJ5y6GuZh3uDsa6dj63a8G747no2FUhORckQAkPu8kaBm8BS9okC yM9Q== 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 :mime-version:content-transfer-encoding; bh=KnDRDoJ4nqYPqTSH2mbYdk4yh6tu5+CXWIXHPbzpuEI=; b=aOQX91f9s/wCF3IQbDx1J66pm2328lIcAhqnuyx/ozQBzMJjztTGbs799F0wM+s0nY XqS03zgkWnf9C5eKHE2U7KGndyhj+Ttuv2Hy9rjumaSCPpI++8BlkpU01RJnjSPx1RRT ad4mT1JHKlD3CrVIYyk4YaiUU+TPK4Kr9OcV7GoRkvE4ZXl2mq/uwDg8NBwfZKpFdpL7 fZOEuZBWSMIviaT/czhm0tt3YwFQHg+tcOxOzXxQlWAoigOlk4g5AnnzSweDEJnEWGAt ogB46Y2e6xgvDjd6qOAHDsls+Sf58VdHXOtg6sUpm975aQY1BwTDP4c4S/LBFhZYG6gL cJ/Q== X-Gm-Message-State: AGRZ1gK1VAfVEZzSDiXcTPSQOWgQcFOjYf7X+oSqAA8SiHNIhttuzEzc T/xSYGkZay8/DMu9vAZVB5Zk4zCy X-Google-Smtp-Source: AJdET5dzHbvJviP8s1w2jFbaorA/4jgaoxHJwysKGpaIm4qYJ4tWL+SBAToD8w9FlCiclwFYfdffWA== X-Received: by 2002:aed:210e:: with SMTP id 14-v6mr22554595qtc.9.1541442590174; Mon, 05 Nov 2018 10:29:50 -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 c45sm1312836qte.66.2018.11.05.10.29.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 05 Nov 2018 10:29:49 -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 16:29:34 -0200 Message-Id: <20181105182934.20599-1-dg@adax.com> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] 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 18:29:51 -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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/rel_notes/release_18_11.rst b/doc/guides/rel_notes/release_18_11.rst index cfa92b8c0..43fe849db 100644 --- a/doc/guides/rel_notes/release_18_11.rst +++ b/doc/guides/rel_notes/release_18_11.rst @@ -301,6 +301,16 @@ New Features computation to the NIST Cryptographic Algorithm Validation Program (CAVP) test vectors. +* **Updated KNI kernel module and 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. + + 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. + API Changes ----------- @@ -362,6 +372,9 @@ API Changes and seen as invalid because of its state ``RTE_ETH_DEV_UNUSED``. This new behaviour is enabled per driver for a migration period. +* kni: Added the new API function ``rte_kni_update_link()`` to allow the user + to set the carrier state of the KNI kernel network interface. + * A new device flag, RTE_ETH_DEV_NOLIVE_MAC_ADDR, changes the order of actions inside rte_eth_dev_start regarding MAC set. Some NICs do not support MAC changes once the port has started and with this new device -- 2.19.0