Skip to content

qdisc: fix wrong type info of tc_sfq_qopt#1083

Merged
aboch merged 1 commit intovishvananda:mainfrom
lwintermelon:fix-sfq-type-info
May 9, 2025
Merged

qdisc: fix wrong type info of tc_sfq_qopt#1083
aboch merged 1 commit intovishvananda:mainfrom
lwintermelon:fix-sfq-type-info

Conversation

@lwintermelon
Copy link
Copy Markdown
Contributor

see

netlink/nl/tc_linux.go

Lines 1132 to 1146 in 9d88d83

// struct tc_sfq_qopt {
// unsigned quantum; /* Bytes per round allocated to flow */
// int perturb_period; /* Period of hash perturbation */
// __u32 limit; /* Maximal packets in queue */
// unsigned divisor; /* Hash divisor */
// unsigned flows; /* Maximal number of flows */
// };
type TcSfqQopt struct {
Quantum uint8
Perturb int32
Limit uint32
Divisor uint8
Flows uint8
}

@aboch
Copy link
Copy Markdown
Collaborator

aboch commented May 9, 2025

LGTM

@aboch aboch merged commit 2426b05 into vishvananda:main May 9, 2025
2 checks passed
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