[Bug 1012] The rte_sched_queue_read_stats API requires a queue_id parameter but there is no public API to generate a queue_id
bugzilla at dpdk.org
bugzilla at dpdk.org
Tue May 17 16:33:01 CEST 2022
https://bugs.dpdk.org/show_bug.cgi?id=1012
Bug ID: 1012
Summary: The rte_sched_queue_read_stats API requires a queue_id
parameter but there is no public API to generate a
queue_id
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: dev at dpdk.org
Reporter: adewar at ciena.com
Target Milestone: ---
The rte_sched_queue_read_stats API has a queue_id parameter, but there is no
public API to generate a queue_id from a combination of port, subport-id,
pipe-id, traffic-class-id and wrr-queue-id.
There is the static inline function called rte_sched_port_qindex that does what
is required, perhaps it could be turned into a public API?
rte_sched_queue_read_stats is the only public API to return the current length
of a specific queue.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the dev
mailing list