[v5 6/9] net/dpaa: add Tx rate limiting DPAA PMD API
Stephen Hemminger
stephen at networkplumber.org
Tue Jul 1 15:57:57 CEST 2025
On Tue, 1 Jul 2025 17:07:04 +0530
vanshika.shukla at nxp.com wrote:
> +/**
> + * Set TX rate limit
> + *
> + * @param port_id
> + * The port identifier of the Ethernet device.
> + * @param burst
> + * Max burst size(KBytes) of the Ethernet device.
> + * 0 - Disable TX rate limit.
> + * @param rate
> + * Max rate(Kb/sec) of the Ethernet device.
> + * 0 - Disable TX rate limit.
> + * @return
> + * 0 - if successful.
> + * <0 - if failed, with proper error code.
> + */
> +int
> +rte_pmd_dpaa_port_set_rate_limit(uint16_t port_id, uint16_t burst,
> + uint32_t rate);
> +
Too late in 25.07 cycle to accept new features.
Please resubmit for 25.11 and either figure out how to do this using existing
ethdev API, or mark new function experimental and add test-pmd case for it.
More information about the dev
mailing list