mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
c7e5c423cb
commit
1c9017e44a
@@ -670,6 +670,8 @@ struct ocelot_port {
|
||||
/* VLAN that untagged frames are classified to, on ingress */
|
||||
const struct ocelot_bridge_vlan *pvid_vlan;
|
||||
|
||||
struct tc_taprio_qopt_offload *taprio;
|
||||
|
||||
phy_interface_t phy_mode;
|
||||
|
||||
unsigned int ptp_skbs_in_flight;
|
||||
@@ -692,9 +694,6 @@ struct ocelot_port {
|
||||
int bridge_num;
|
||||
|
||||
int speed;
|
||||
|
||||
/* Store the AdminBaseTime of EST fetched from userspace. */
|
||||
s64 base_time;
|
||||
};
|
||||
|
||||
struct ocelot {
|
||||
|
||||
Reference in New Issue
Block a user