Hi Jerin, On Thu, Jan 11, 2024 at 4:32 PM <jer...@marvell.com> wrote: > > From: Jerin Jacob <jer...@marvell.com> > > Introduce a new API to retrieve the number of used descriptors > in a Tx queue. Applications can leverage this API in the fast path to > inspect the Tx queue occupancy and take appropriate actions based on the > available free descriptors. > > A notable use case could be implementing Random Early Discard (RED) > in software based on Tx queue occupancy. > > Signed-off-by: Jerin Jacob <jer...@marvell.com> > --- > doc/guides/nics/features.rst | 10 ++++ > doc/guides/nics/features/default.ini | 1 + > lib/ethdev/ethdev_driver.h | 2 + > lib/ethdev/ethdev_private.c | 1 + > lib/ethdev/ethdev_trace_points.c | 3 ++ > lib/ethdev/rte_ethdev.h | 74 ++++++++++++++++++++++++++++ > lib/ethdev/rte_ethdev_core.h | 7 ++- > lib/ethdev/rte_ethdev_trace_fp.h | 8 +++ > lib/ethdev/version.map | 3 ++ > 9 files changed, 108 insertions(+), 1 deletion(-)
We need some libabigail suppression rule for the reserved2 field update. Looking at some previous rules, something like below can do the trick. diff --git a/devtools/libabigail.abignore b/devtools/libabigail.abignore index 21b8cd6113..ba240f74d5 100644 --- a/devtools/libabigail.abignore +++ b/devtools/libabigail.abignore @@ -33,3 +33,6 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Temporary exceptions till next major ABI version ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +[suppress_type] + name = rte_eth_fp_ops + has_data_member_inserted_between = {offset_of(reserved2), end} -- David Marchand