]> 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)
commitc299690d0904266d4cf6524bd32785a73fb1125d
tree8196891189dc6e253b8bdb251d46393dac440c62
parent7110d0e1ce594119ee7f7a21441c543dff4b4247
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