On Tue, 24 Mar 2026 17:50:45 +0100 Vincent Jardin <[email protected]> wrote:
> The existing rte_eth_set_queue_rate_limit() API allows setting a > per-queue Tx rate but provides no way to read it back. Applications > such as grout are forced to maintain a shadow copy of the rate to > be able to report it. > > Add rte_eth_get_queue_rate_limit() as the symmetric getter, following > the established DPDK pattern (e.g. rte_eth_dev_set_mtu/get_mtu, > rte_eth_dev_set_vlan_offload/get_vlan_offload). > > This adds: > - eth_get_queue_rate_limit_t driver callback in ethdev_driver.h > - rte_eth_get_queue_rate_limit() public experimental API (26.07) > - Trace point matching the existing setter pattern > - Generic testpmd command: show port <id> queue <id> rate > > Acked-by: Viacheslav Ovsiienko <[email protected]> > Signed-off-by: Vincent Jardin <[email protected]> > --- Acked-by: Stephen Hemminger <[email protected]>

