[v4,1/7] ethdev: deprecate descriptor status check API
Checks
Commit Message
Marking 'rte_eth_rx_descriptor_done()' API as deprecated.
``rte_eth_rx_descriptor_status`` and ``rte_eth_tx_descriptor_status``
APIs can be used as replacement.
Plan is to remove the API on 21.11 release.
Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: David Marchand <david.marchand@redhat.com>
---
Cc: David Marchand <david.marchand@redhat.com>
v3:
* Just deprecating the 'rte_eth_rx_descriptor_done()' API without
removing it to stick to the original plan.
---
doc/guides/rel_notes/deprecation.rst | 2 +-
doc/guides/rel_notes/release_20_11.rst | 2 ++
lib/librte_ethdev/rte_ethdev.h | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
Comments
On 9/9/2020 2:01 PM, Ferruh Yigit wrote:
> Marking 'rte_eth_rx_descriptor_done()' API as deprecated.
> ``rte_eth_rx_descriptor_status`` and ``rte_eth_tx_descriptor_status``
> APIs can be used as replacement.
>
> Plan is to remove the API on 21.11 release.
>
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
> Acked-by: David Marchand <david.marchand@redhat.com>
>
Series applied to dpdk-next-net/main, thanks.
@@ -214,7 +214,7 @@ Deprecation Notices
https://mails.dpdk.org/archives/dev/2020-July/176135.html.
* ethdev: ``rx_descriptor_done`` dev_ops and ``rte_eth_rx_descriptor_done``
- will be deprecated in 20.11 and will be removed in 21.11.
+ will be removed in 21.11.
Existing ``rte_eth_rx_descriptor_status`` and ``rte_eth_tx_descriptor_status``
APIs can be used as replacement.
@@ -84,6 +84,8 @@ API Changes
Also, make sure to start the actual text at the margin.
=======================================================
+* ``rte_eth_rx_descriptor_done()`` API has deprecated.
+
ABI Changes
-----------
@@ -4567,6 +4567,7 @@ rte_eth_rx_queue_count(uint16_t port_id, uint16_t queue_id)
* - (-ENODEV) if *port_id* invalid.
* - (-ENOTSUP) if the device does not support this function
*/
+__rte_deprecated
static inline int
rte_eth_rx_descriptor_done(uint16_t port_id, uint16_t queue_id, uint16_t offset)
{