You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(tsn): Spar_TSN::Hi_Credit + Lo_Credit user-tunable CBS (v0.9.2) (#195)
Reviewer Tier A #8 — v0.8.1 hardcoded `hi_credit_bytes` and
`lo_credit_bytes` to `Spar_TSN::Max_Frame_Size` (default 1518 B)
when constructing CbsReservation. Real Qcc/YANG configs
(`ieee802-dot1q-bridge`, `tsn-stream`) carry these per traffic
class — making the CBS recovery term `loCredit/|sendSlope|`
constant + load-bearing on the bound for any tight AVB design.
Add two properties to Spar_TSN:
- `Hi_Credit` (aadlinteger units Size_Units; port, connection)
- `Lo_Credit` (aadlinteger units Size_Units; port, connection)
Property count: 129 → 131. Spar_TSN per-set count: 7 → 9.
Accessors `get_hi_credit_bytes` and `get_lo_credit_bytes` follow
the typed-first / string-fallback pattern of `get_max_frame_size_bytes`.
The wctt CBS arm reads them from bus_props; when unset, falls back
to `max_competing_frame_bytes` (preserves v0.8.1/v0.9.1 byte-identical
output). New `WcttCbsCredit` Info diagnostic fires when at least one
credit is explicit.
REQ-TSN-005 + TEST-TSN-CBS-CREDITS.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments