summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-02-09 10:18:18 +0000
committerThomas Monjalon <thomas@monjalon.net>2018-02-14 18:29:04 +0100
commit768ac8d4528eac53e5f14a7299d2c0e1465f35ed (patch)
tree2c65550e176ff79cdbb98ff5eeb9fc523f37c701
parent16a7009aeed5836d671aada0d9fe11b20a4c3ce5 (diff)
downloaddpdk-768ac8d4528eac53e5f14a7299d2c0e1465f35ed.zip
dpdk-768ac8d4528eac53e5f14a7299d2c0e1465f35ed.tar.gz
dpdk-768ac8d4528eac53e5f14a7299d2c0e1465f35ed.tar.xz
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 <ferruh.yigit@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
-rw-r--r--doc/guides/rel_notes/deprecation.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides/rel_notes/deprecation.rst
index 7f90ef7..796b139 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