OSDN Git Service

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)
commit1c9017e44af2eee94b1001af18c401ae440ad77c
tree8196891189dc6e253b8bdb251d46393dac440c62
parentc7e5c423cb59caddbf296717af484dcbacd76a3f
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