Re: [PATCH net 1/2] net/sched: taprio: make q->picos_per_byte available to fill_sched_entry()

2024-05-28 Thread patchwork-bot+netdevbpf
Hello: This series was applied to netdev/net.git (main) by Jakub Kicinski : On Mon, 27 May 2024 18:39:54 +0300 you wrote: > In commit b5b73b26b3ca ("taprio: Fix allowing too small intervals"), a > comparison of user input against length_to_duration(q, ETH_ZLEN) was > introduced, to avoid RCU stal

Re: [PATCH net 1/2] net/sched: taprio: make q->picos_per_byte available to fill_sched_entry()

2024-05-27 Thread Eric Dumazet
On Mon, May 27, 2024 at 5:40 PM Vladimir Oltean wrote: > > In commit b5b73b26b3ca ("taprio: Fix allowing too small intervals"), a > comparison of user input against length_to_duration(q, ETH_ZLEN) was > introduced, to avoid RCU stalls due to frequent hrtimers. > > The implementation of length_to_d

[PATCH net 1/2] net/sched: taprio: make q->picos_per_byte available to fill_sched_entry()

2024-05-27 Thread Vladimir Oltean
In commit b5b73b26b3ca ("taprio: Fix allowing too small intervals"), a comparison of user input against length_to_duration(q, ETH_ZLEN) was introduced, to avoid RCU stalls due to frequent hrtimers. The implementation of length_to_duration() depends on q->picos_per_byte being set for the link speed