On Thu, Jan 11, 2024 at 10:30 PM Stephen Hemminger <[email protected]> wrote: > > On Thu, 11 Jan 2024 20:47:44 +0530 > <[email protected]> wrote: > > > From: Jerin Jacob <[email protected]> > > > > 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 <[email protected]> > > 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

