taprio: calculate cycle_time when schedule is installed
authorVedang Patel <vedang.patel@intel.com>
Tue, 25 Jun 2019 22:07:15 +0000 (15:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2019 21:45:33 +0000 (14:45 -0700)
commit037be0374078e205ca802ca8716dabb6064f940e
tree9eb7248622e8697c6f5e518cbaa69116632bf950
parentd14d2b20680f02fa739c2cbbb59e3629e487f359
taprio: calculate cycle_time when schedule is installed

cycle time for a particular schedule is calculated only when it is first
installed. So, it makes sense to just calculate it once right after the
'cycle_time' parameter has been parsed and store it in cycle_time.

Signed-off-by: Vedang Patel <vedang.patel@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_taprio.c