qbv cycle time extension/truncation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 8 repliesIn review
- v27 patches 21 repliesSuperseded
Changes in v3 from the cover letter
- Removed the last 3 patches related to fixing cycle time adjustment for the "current entry". This is to simplify this patch series submission which only covers cycle time adjustment for the "next entry".
- Negative correction calculation in get_cycle_time_correction() is guarded so that it doesn't exceed interval
- Some rename (macro, function)
- Transport commit message comments to the code comments
- Removed unnecessary null check
- Reword commit message
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | net/sched: taprio: fix too early schedules switchingnet/ | +10 | 0 replies | |
| 2/4 | net/sched: taprio: fix cycle time adjustment for next entrynet/ | +62 | 0 replies | |
| 3/4 | net/sched: taprio: fix impacted fields value during cycle time adjustmentnet/ | +41 | 0 replies | |
| 4/4 | net/sched: taprio: get corrected value of cycle_time and intervalnet/ | +28 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 net 0/4] qbv cycle time extension/truncation
According to IEEE Std. 802.1Q-2018 section Q.5 CycleTimeExtension, the Cycle Time Extension variable allows this extension of the last old cycle to be done in a defined way. If the last complete old cycle would normally end less than OperCycleTimeExtension nanoseconds before the new base time, then the last complete cycle before AdminBaseTime is reached is extended so that it ends at AdminBaseTime.
Changes in v3:
- Removed the last 3 patches related to fixing cycle time adjustment for the "current entry". This is to simplify this patch series submission which only covers cycle time adjustment for the "next entry".
- Negative correction calculation in get_cycle_time_correction() is guarded so that it doesn't exceed interval
- Some rename (macro, function)
- Transport commit message comments to the code comments
- Removed unnecessary null check
- Reword commit message
Changes in v2:
- Added 's64 cycle_time_correction' in 'sched_gate_list struct'.
- Removed sched_changed created in v1 since the new cycle_time_correction field can also serve to indicate the need for a schedule change.
- Added 'bool correction_active' in 'struct sched_entry' to represent the correction state from the entry's perspective and return corrected interval value when active.
- Fix cycle time correction logics for the next entry in advance_sched()
- Fix and implement proper cycle time correction logics for current entry in taprio_start_sched()
v2 at:
https://lore.kernel.org/lkml/[email protected]/
v1 at:
https://lore.kernel.org/lkml/[email protected]/
Faizal Rahim (4):
net/sched: taprio: fix too early schedules switching net/sched: taprio: fix cycle time adjustment for next entry net/sched: taprio: fix impacted fields value during cycle time
adjustment
net/sched: taprio: get corrected value of cycle_time and interval
net/sched/sch_taprio.c | 178 +++++++++++++++++++++++++++++++---------- 1 file changed, 135 insertions(+), 43 deletions(-)
Signature · 1 line
2.25.1