From: Ferruh Yigit Date: Fri, 9 Feb 2018 10:18:18 +0000 (+0000) Subject: doc: announce ethdev API changes for callbacks X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=768ac8d4528eac53e5f14a7299d2c0e1465f35ed;p=dpdk.git doc: announce ethdev API changes for callbacks Ethdev APIs to add callback return the callback object as "void *", update return type to actual object type "struct rte_eth_rxtx_callback *" Signed-off-by: Ferruh Yigit Acked-by: Konstantin Ananyev Acked-by: Jerin Jacob Acked-by: Hemant Agrawal --- diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst index 7f90ef76ba..796b139e5e 100644 --- a/doc/guides/rel_notes/deprecation.rst +++ b/doc/guides/rel_notes/deprecation.rst @@ -142,6 +142,13 @@ Deprecation Notices successful. This modification will only impact the PMDs, not the applications. +* ethdev: functions add rx/tx callback will return named opaque type + ``rte_eth_add_rx_callback()``, ``rte_eth_add_first_rx_callback()`` and + ``rte_eth_add_tx_callback()`` functions currently return callback object as + ``void \*`` but APIs to delete callbacks get ``struct rte_eth_rxtx_callback \*`` + as parameter. For consistency functions adding callback will return + ``struct rte_eth_rxtx_callback \*`` instead of ``void \*``. + * i40e: The default flexible payload configuration which extracts the first 16 bytes of the payload for RSS will be deprecated starting from 18.02. If required the previous behavior can be configured using existing flow