]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: felix: keep reference on entire tc-taprio config
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 28 Jun 2022 14:52:35 +0000 (17:52 +0300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 1 Jul 2022 04:18:15 +0000 (21:18 -0700)
commitc21113528dea131becdb45f87ae18a5232b292ec
tree8196891189dc6e253b8bdb251d46393dac440c62
parentd74b948dcd3876582a41a89bd9fd80ef22e78778
net: dsa: felix: keep reference on entire tc-taprio config

In a future change we will need to remember the entire tc-taprio config
on all ports rather than just the base time, so use the
taprio_offload_get() helper function to replace ocelot_port->base_time
with ocelot_port->taprio.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/ocelot/felix_vsc9959.c
include/soc/mscc/ocelot.h