From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from proxy.6wind.com (host.76.145.23.62.rev.coltfrance.com [62.23.145.76]) by dpdk.org (Postfix) with ESMTP id 768A21B960 for ; Mon, 29 Jan 2018 18:14:01 +0100 (CET) Received: from glumotte.dev.6wind.com. (unknown [10.16.0.195]) by proxy.6wind.com (Postfix) with ESMTP id E1215128F5B; Mon, 29 Jan 2018 18:11:54 +0100 (CET) From: Olivier Matz To: dev@dpdk.org, Neil Horman , John McNamara , Marko Kovacevic Cc: Ferruh Yigit , Thomas Monjalon Date: Mon, 29 Jan 2018 18:13:39 +0100 Message-Id: <20180129171339.20896-1-olivier.matz@6wind.com> X-Mailer: git-send-email 2.11.0 Subject: [dpdk-dev] [PATCH] doc: announce PMD API change for set default MAC 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, 29 Jan 2018 17:14:01 -0000 Announce internal PMD API change in the function to set the default MAC address. The objective is to be able to notify errors occurring in the PMD. Link: https://dpdk.org/dev/patchwork/patch/32284/ Signed-off-by: Olivier Matz --- doc/guides/rel_notes/deprecation.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 43a39d827..8ad4407c2 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -76,3 +76,11 @@ Deprecation Notices * mbuf: The mbuf flags ``PKT_TX_VLAN_PKT`` and ``PKT_TX_QINQ_PKT`` are respectively renamed as ``PKT_TX_VLAN`` and ``PKT_TX_QINQ``. The old names will be removed in v18.08. + +* ethdev: The prototype and the behavior of + ``dev_ops->eth_mac_addr_set()`` will change in v18.05. A return code + will be added to notify the caller if an error occurred in the PMD. In + ``rte_eth_dev_default_mac_addr_set()``, the new default MAC address + will be copied in ``dev->data->mac_addrs[0]`` only if the operation is + succesfull. This modification will only impact the PMDs, not the + applications. -- 2.11.0