diff options
authorErik Gabriel Carrillo <>2018-01-12 14:45:35 -0600
committerThomas Monjalon <>2018-02-14 16:32:00 +0100
commit064518f68d48fa53a0869346a50af5fda912fb90 (patch)
parent66226f28e18b1ed2775c4f079438dbad71b1717f (diff)
doc: announce EAL API change to lcore role function
This an API/ABI change notice for DPDK 18.05 announcing a change in the meaning of the return values of the rte_lcore_has_role() function. Signed-off-by: Erik Gabriel Carrillo <> Acked-by: Ferruh Yigit <> Acked-by: Harry van Haaren <> Acked-by: Pavan Nikhilesh <> Acked-by: Thomas Monjalon <>
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 07312f5..5e559f1 100644
--- a/doc/guides/rel_notes/deprecation.rst
+++ b/doc/guides/rel_notes/deprecation.rst
@@ -33,6 +33,11 @@ Deprecation Notices
- ``eal_parse_pci_DomBDF`` replaced by ``rte_pci_addr_parse``
- ``rte_eal_compare_pci_addr`` replaced by ``rte_pci_addr_cmp``
+* eal: The semantics of the return value for the ``rte_lcore_has_role`` function
+ are planned to change in v18.05. The function currently returns 0 and <0 for
+ success and failure, respectively. This will change to 1 and 0 for true and
+ false, respectively, to make use of the function more intuitive.
* ethdev: a new Tx and Rx offload API was introduced on 17.11.
In the new API, offloads are divided into per-port and per-queue offloads.
Offloads are disabled by default and enabled per application request.