From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SxiUGxe2wvAvbm6Zy9FtI+OVdKG2KHSJdUPBuz5+CF0=; b=KvluryNLamzBNRiMknhEZ3UfMnqXkymskYAK6Wr5CHb0r8d0Hi66/cdicGi05hOxh9 /toU3s5nuuhfGN4qY8F0Z92iKN/L4G93VwSc7hpDc+uszVXZHVQF+ydOq5/PBtjc3Eip Liw1XtftMjEsiQVdpkcyKGeUQfVrPqgKF7tZ8wSchNpyYnF2X0pI5m4EhNnSHTE2sU0q 1l0AqXi35YnuM5pXB2Ea2/xw4W8iyiyO4HeZzPY5QmworQmQzGF12/7UHeaFFL9EbY5G pkNQ0xnHfQYqFlDtyw+zhIIElIxjA9BLZiHh7xPRWaj4CKUTMF7AGWS7wMzGUBMmXRiP JGTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=SxiUGxe2wvAvbm6Zy9FtI+OVdKG2KHSJdUPBuz5+CF0=; b=PgG7/MuiaoRxu6wv60ul6i0+yHjzQzaWur5so/4H06+kLysKS21LJSxACQ+6xbVWOt psvq/WJntkeQ8QasbEzDgM/ADjYyVrDE7egmJTjHY5PNNNmVKGRdXW4qHgmpfKnDSpbc pw3O7iRI6YbBdYBP8mSTyHd0M+plR1sm86sfJVyF+nAo0vZU+6qNjwLTnWf/D///viCV Peu4WyIFRVUOQKfFStjjNySeqfcbc3UnazYoJoPNBh2FsJIbZeM/Z8zInXwb/WyIhGJZ DXlLmECA26ZvQX0ICyDXGXIXSHlY6NlXuH0KkU+9mA1rvqaZL3sVtYjMLrwHPjhWjZte 03fQ== X-Gm-Message-State: AD7BkJLvywqWWbtbU+e6q/PZbP9rpox+IY8GZguOMsmg8BVLY/pMKvbZ15EzGeQoig47rQ== X-Received: by 10.194.90.172 with SMTP id bx12mr17367416wjb.128.1456793171459; Mon, 29 Feb 2016 16:46:11 -0800 (PST) Received: from localhost.localdomain (84.Red-83-63-204.staticIP.rima-tde.net. [83.63.204.84]) by smtp.gmail.com with ESMTPSA id v66sm18666770wmb.18.2016.02.29.16.46.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 16:46:10 -0800 (PST) From: Marc Sune To: "dev@dpdk.org" , "Lu, Wenzhuo" , "Zhang, Helin" , "Harish Patil" , "Chen, Jing D" Date: Tue, 1 Mar 2016 01:45:51 +0100 Message-Id: <1456793151-1475-5-git-send-email-marcdevel@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1456793151-1475-1-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> Subject: [dpdk-dev] [PATCH v9 4/4] doc: update with link changes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2016 00:46:11 -0000 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