Repository navigation
gotc: print the AQM and leaf qdisc kinds (increment 16) - #353
Merged
Merged
Conversation
…discs (16C, V033) red, gred, choke, sfb, codel, pie, fq_pie, hhf, cake, cake_mq, dualpi2, plug and skbprio over 26 fixtures, each command plain and -j, two batches and four refusals. Two batches on one boot agree on all 132. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…V034) red, gred, choke, sfb, codel, pie, fq_pie, hhf, cake, cake_mq, dualpi2, plug and skbprio, at tc's read widths; gred and cake xstats are pointers to keep TcQopt and TcXstats small. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
red, choke, gred, sfb, codel, pie, fq_pie, hhf, cake, cake_mq, dualpi2, plug and skbprio, each following its tc 7.2.0 printer. Every kind tc links now prints, so readbackSkips is empty and errKind is gone; filter show block runs red_has_block instead of refusing red. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…DOC009) Not submitted to netdev. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s reads (PR 353 review) tc's text tin table reads a row only when tin 0 has the attribute, so a short field in a later tin that tin 0 lacks is never read; JSON reads each tin's own. Keep each tin's short mask and refuse per mode. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
gotc now prints the last 13 qdisc kinds that tc 7.2.0 links: red, gred, choke, sfb, codel, pie, fq_pie, hhf, cake, cake_mq, dualpi2, plug and skbprio. Every qdisc kind tc links now prints, so
errKindandtcBuiltinKindsare removed andreadbackSkipsis empty.tcaqmcapture space with 132 rows over 26 fixtures. Two batches on one boot agree.pkg/xtcpnl/xtcpnl_tc_aqm.godecodes each kind's options and xstats at C's widths. Inputs that would make tc crash, hang or write out of bounds become errors.q_red.go,q_gred.go,q_aqm.go,q_cake.goandq_dualpi2.go, each following tc's printer line by line.readbackRenderedgoes from 1114 to 1250, and all 136 readbacks that were skipped now render.TestGotcAqmhas 44 rows. The 10 mutants are all killed. Coverage is 86.1%.docs/netlink/upstream/iproute2-tc-aqm.md: Q66–Q89 and kernel notes K32–K43. All are still present in current iproute2. Not submitted to netdev.Test plan
go test ./...nix build .#checks.x86_64-linux.test-go-race🤖 Generated with Claude Code