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

Stephen Hemminger stephen at networkplumber.org
Thu Jan 11 18:00:11 CET 2024


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?


More information about the dev mailing list