On Thu, Jan 11, 2024 at 10:30 PM Stephen Hemminger
<step...@networkplumber.org> wrote:
>
> On Thu, 11 Jan 2024 20:47:44 +0530
> <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>
>
> 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

Reply via email to