linux-yocto/drivers/net/ethernet/microchip/lan966x
Horatiu Vultur 58c4115091 net: lan966x: Fix the initialization of taprio
[ Upstream commit 9780f535f8 ]

To initialize the taprio block in lan966x, it is required to configure
the register REVISIT_DLY. The purpose of this register is to set the
delay before revisit the next gate and the value of this register depends
on the system clock. The problem is that the we calculated wrong the value
of the system clock period in picoseconds. The actual system clock is
~165.617754MHZ and this correspond to a period of 6038 pico seconds and
not 15125 as currently set.

Fixes: e462b27173 ("net: lan966x: Add offload support for taprio")
Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251121061411.810571-1-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-12-07 06:18:49 +09:00
..
Kconfig
lan966x_cbs.c
lan966x_dcb.c
lan966x_ethtool.c lan966x: Fix sleeping in atomic context 2025-11-24 10:29:53 +01:00
lan966x_ets.c
lan966x_fdb.c
lan966x_fdma.c
lan966x_goto.c
lan966x_ifh.h
lan966x_lag.c
lan966x_mac.c
lan966x_main.c lan966x: Fix sleeping in atomic context 2025-11-24 10:29:53 +01:00
lan966x_main.h lan966x: Fix sleeping in atomic context 2025-11-24 10:29:53 +01:00
lan966x_mdb.c
lan966x_mirror.c
lan966x_mqprio.c
lan966x_phylink.c
lan966x_police.c
lan966x_port.c
lan966x_ptp.c net: lan966x: Fix the initialization of taprio 2025-12-07 06:18:49 +09:00
lan966x_regs.h
lan966x_switchdev.c
lan966x_taprio.c
lan966x_tbf.c
lan966x_tc_flower.c
lan966x_tc_matchall.c
lan966x_tc.c
lan966x_vcap_ag_api.c
lan966x_vcap_ag_api.h
lan966x_vcap_debugfs.c
lan966x_vcap_impl.c lan966x: Fix sleeping in atomic context 2025-11-24 10:29:53 +01:00
lan966x_vlan.c
lan966x_xdp.c
Makefile