[dpdk-dev] [v1] ethdev: support Tx queue used count

Jerin Jacob jerinjacobk at gmail.com
Fri Jan 12 08:01:27 CET 2024


On Thu, Jan 11, 2024 at 10:30 PM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> On Thu, 11 Jan 2024 20:47:44 +0530
> <jerinj at marvell.com> wrote:
>
> > From: Jerin Jacob <jerinj at 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 <jerinj at marvell.com>
>
> Has anyone investigated implementing dynamic tx queue limits like
> Linux BQL?

In DPDK APIs, it can expressed through creating correct TM
topology(shaping or rate limiting) via rte_tm API


More information about the dev mailing list