From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marc Sune Subject: [PATCH v9 4/4] doc: update with link changes Date: Tue, 1 Mar 2016 01:45:51 +0100 Message-ID: <1456793151-1475-5-git-send-email-marcdevel@gmail.com> References: <1455488259-1000-1-git-send-email-marcdevel@gmail.com> <1456793151-1475-1-git-send-email-marcdevel@gmail.com> To: "dev@dpdk.org" , "Lu, Wenzhuo" , "Zhang, Helin" , "Harish Patil" , "Chen, Jing D" Return-path: Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 8E99295D6 for ; Tue, 1 Mar 2016 01:46:11 +0100 (CET) Received: by mail-wm0-f67.google.com with SMTP id n186so1529372wmn.0 for ; Mon, 29 Feb 2016 16:46:11 -0800 (PST) In-Reply-To: <1456793151-1475-1-git-send-email-marcdevel@gmail.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Add new features, ABI changes and resolved issues notice for the refactored link patch. Signed-off-by: Marc Sune --- doc/guides/nics/overview.rst | 1 + doc/guides/rel_notes/release_16_04.rst | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/doc/guides/nics/overview.rst b/doc/guides/nics/overview.rst index d4c6ff4..6c1ae33 100644 --- a/doc/guides/nics/overview.rst +++ b/doc/guides/nics/overview.rst @@ -88,6 +88,7 @@ Most of these differences are summarized below. ==================== = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = link status link status event + Speed capabilities Rx interrupt queue start/stop MTU update diff --git a/doc/guides/rel_notes/release_16_04.rst b/doc/guides/rel_notes/release_16_04.rst index 64e913d..fd2d3cc 100644 --- a/doc/guides/rel_notes/release_16_04.rst +++ b/doc/guides/rel_notes/release_16_04.rst @@ -20,6 +20,18 @@ Build the docs and view the output file to ensure the changes are correct:: New Features ------------ +* **ethdev: define a set of advertised link speeds.** + + Added functionality to Allow defining a set of advertised speeds for + auto-negociation, explicitely disabling link auto-negociation (single speed) + and full auto-negociation. + +* **ethdev: add speed_cap bitmap for link speed capabilities.** + + ``struct rte_eth_dev_info`` has now ``speed_cap`` bitmap, which allows the + application to recover the supported speeds for that ethernet device. + + This section should contain new features added in this release. Sample format: * **Add a title in the past tense with a full stop.** @@ -55,6 +67,11 @@ This section should contain new features added in this release. Sample format: Resolved Issues --------------- +* **ethdev: Fixed link_speed overflow in rte_eth_link for 100Gbps.** + + 100Gbps in Mbps (100000) exceeds 16 bit max value of ``link_speed`` in + ``rte_eth_link``. + This section should contain bug fixes added to the relevant sections. Sample format: * **code/section Fixed issue in the past tense with a full stop.** @@ -87,6 +104,9 @@ Drivers Libraries ~~~~~~~~~ +* New API call, ``rte_eth_speed_to_bm_flag`` in ethdev to, map numerical speeds + to bitmap fields. + Examples ~~~~~~~~ @@ -119,6 +139,13 @@ This section should contain API changes. Sample format: ABI Changes ----------- +* The ethdev ``rte_eth_link`` and ``rte_eth_conf`` structures were changed to + support the new link API, as well as ``ETH_LINK_HALF``/``FULL_DUPLEX``. + +* The ethdev ``rte_eth_dev_info`` was changed to support device speed + capabilities. + + * Add a short 1-2 sentence description of the ABI change that was announced in the previous releases and made in this release. Use fixed width quotes for ``rte_function_names`` or ``rte_struct_names``. Use the past tense. -- 2.1.4