Home
last modified time | relevance | path

Searched hist:a1e6ad30 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/sched/
H A Dsch_taprio.ca1e6ad30 Tue Feb 07 07:54:34 CST 2023 Vladimir Oltean <vladimir.oltean@nxp.com> net/sched: taprio: calculate guard band against actual TC gate close time

taprio_dequeue_from_txq() looks at the entry->end_time to determine
whether the skb will overrun its traffic class gate, as if at the end of
the schedule entry there surely is a "gate close" event for it. Hint:
maybe there isn't.

For each schedule entry, introduce an array of kernel times which
actually tracks when in the future will there be an *actual* gate close
event for that traffic class, and use that in the guard band overrun
calculation.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>