Re: [PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-18 Thread Leandro Dorileo
Hi Florian, Florian Fainelli writes: > On 3/15/19 2:16 PM, Leandro Dorileo wrote: >> The Time Aware Priority Scheduler is heavily dependent to link speed, >> it relies on it to calculate transmission bytes per cycle, we can't >> properly calculate the so called budget if the device has failed

Re: [PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-16 Thread kbuild test robot
Hi Leandro, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Leandro-Dorileo/net-sched-taprio-cbs-Fix-using-invalid-link-speed/20190316-161006 config: riscv-allyesconfig (attached as .config) compiler

Re: [PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-15 Thread Florian Fainelli
On 3/15/19 2:16 PM, Leandro Dorileo wrote: > The Time Aware Priority Scheduler is heavily dependent to link speed, > it relies on it to calculate transmission bytes per cycle, we can't > properly calculate the so called budget if the device has failed > to report the link speed. > > In that case w

[PATCH net V3 1/2] net/sched: taprio: fix picos_per_byte miscalculation

2019-03-15 Thread Leandro Dorileo
The Time Aware Priority Scheduler is heavily dependent to link speed, it relies on it to calculate transmission bytes per cycle, we can't properly calculate the so called budget if the device has failed to report the link speed. In that case we can't dequeue packets assuming a wrong budget. This p