[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <878rhmvp7g.fsf@kurt>
Date: Sat, 28 Jan 2023 13:05:55 +0100
From: Kurt Kanzenbach <kurt@...utronix.de>
To: Vladimir Oltean <vladimir.oltean@....com>, netdev@...r.kernel.org
Cc: Vinicius Costa Gomes <vinicius.gomes@...el.com>
Subject: Re: [RFC PATCH net-next 09/15] net/sched: taprio: calculate guard
band against actual TC gate close time
On Sat Jan 28 2023, Vladimir Oltean wrote:
> 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@....com>
Reviewed-by: Kurt Kanzenbach <kurt@...utronix.de>
Download attachment "signature.asc" of type "application/pgp-signature" (862 bytes)
Powered by blists - more mailing lists