Skip to content

Conversation

middaywords
Copy link

When using fq, we rely on xstats useful metrics to check fq behavior and diangosis, it is what can be seen from iproute2 tools, tc -s qdisc show as well. It exposes metrics as:

https://github.com/iproute2/iproute2/blob/main/include/uapi/linux/pkt_sched.h#L847

When using fq, we rely on xstats useful metrics to check fq behavior and
diangosis, it is what can be seen from iproute2 tools, `tc -s qdisc
show` as well. It exposes metrics as:

https://github.com/iproute2/iproute2/blob/main/include/uapi/linux/pkt_sched.h#L847

Signed-off-by: Kangjie Xu <[email protected]>
@middaywords middaywords force-pushed the 0605-nelink-tc-fq-xstats branch from c4bbdd7 to 8e1ae8a Compare June 5, 2024 05:42
LowRateThreshold uint32
Horizon uint32
HorizonDropPolicy uint8

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the empty line?

case nl.TCA_XSTATS:
switch qdisc.Type() {
case "fq":
fq := qdisc.(*Fq)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please move this casting to line 499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants