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

2019-03-14 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-fix-picos_per_byte-miscalculation/20190314-231519 config: sparc64-allmodconfig (attached as .config) compi

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

2019-03-14 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-fix-picos_per_byte-miscalculation/20190314-231519 config: riscv-allyesconfig (attached as .config) compile

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

2019-03-13 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