From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by dpdk.org (Postfix) with ESMTP id AD2B75A76 for ; Sun, 25 Oct 2015 23:00:34 +0100 (CET) Received: by wicfv8 with SMTP id fv8so92022708wic.0 for ; Sun, 25 Oct 2015 15:00:34 -0700 (PDT) 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=99s8V6C9+DvBddZkMt+xsfO4Dh/55xE8e7ymS9P3Um0=; b=T2RbKZRrxuGkJLzoVC9X+F7hXzTwapIBzRopGWjBqCbnk1iecKzvukQwtKB2NiH22b L8JGvIhspf+h7XuxKfz0ISWyCHp/HheMZLFm3Py8Y/LKv+QLXacf8kIG3edO9lyTU8FP K4e6duf1svX2RNwSItcYPYj3kbHb2JZvvXcKmZ2fv7aASsbg48IfuweL9gE+WxurpCfO HHI8UXDG/WNegvSwObZ1Qq0P7lF++Pc/NvUWsKgxmymiXCou9TTXcmI+L0H6ixXxI+Bi KH0yf8obdglYVs3monMgCyDYPYE8Q0ycbw11eUIgZiGQ3kLlIwrkTCheQja/BrKJ+B4K 7H3w== X-Received: by 10.28.145.194 with SMTP id t185mr1591958wmd.65.1445810434567; Sun, 25 Oct 2015 15:00:34 -0700 (PDT) Received: from localhost.localdomain (189.Red-83-47-134.dynamicIP.rima-tde.net. [83.47.134.189]) by smtp.gmail.com with ESMTPSA id ev1sm8733669wic.21.2015.10.25.15.00.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 25 Oct 2015 15:00:33 -0700 (PDT) From: Marc Sune To: dev@dpdk.org Date: Sun, 25 Oct 2015 22:59:59 +0100 Message-Id: <1445810400-8978-5-git-send-email-marcdevel@gmail.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1445810400-8978-1-git-send-email-marcdevel@gmail.com> References: <1443993003-1059-1-git-send-email-marcdevel@gmail.com> <1445810400-8978-1-git-send-email-marcdevel@gmail.com> Subject: [dpdk-dev] [PATCH v6 4/5] 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: Sun, 25 Oct 2015 22:00:35 -0000 Add new features, ABI changes and resolved issues notice for the refactored link patch. Signed-off-by: Marc Sune --- doc/guides/rel_notes/release_2_2.rst | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/doc/guides/rel_notes/release_2_2.rst b/doc/guides/rel_notes/release_2_2.rst index 5687676..e0d1741 100644 --- a/doc/guides/rel_notes/release_2_2.rst +++ b/doc/guides/rel_notes/release_2_2.rst @@ -4,6 +4,17 @@ DPDK Release 2.2 New Features ------------ +* **ethdev: define a set of advertised link speeds.** + + Allowing to define a set of advertised speeds for auto-negociation, + explicitely disable link auto-negociation (single speed) and full + auto-negociation. + +* **ethdev: add speed_cap bitmap to recover eth device link speed capabilities + define a set of advertised link speeds.** + + ``struct rte_eth_dev_info`` has now speed_cap bitmap, which allows the + application to recover the supported speeds for that ethernet device. Resolved Issues --------------- @@ -48,6 +59,11 @@ Libraries Fixed issue where an incorrect Cuckoo Hash key table size could be calculated limiting the size to 4GB. +* **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``. + Examples ~~~~~~~~ @@ -81,6 +97,8 @@ API Changes * The deprecated ring PMD functions are removed: rte_eth_ring_pair_create() and rte_eth_ring_pair_attach(). +* New API call, rte_eth_speed_to_bm_flag(), in ethdev to map numerical speeds + to bitmap fields. ABI Changes ----------- @@ -91,6 +109,11 @@ ABI Changes * The ethdev flow director entries for SCTP were changed. It was already done in 2.1 for CONFIG_RTE_NEXT_ABI. +* 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. + * The mbuf structure was changed to support unified packet type. It was already done in 2.1 for CONFIG_RTE_NEXT_ABI. -- 2.1.4