diff options
author | 2024-10-24 00:01:30 +0200 | |
---|---|---|
committer | 2024-10-30 18:08:06 -0700 | |
commit | 5d2ba3941016c61093f2d6d986692bc39d000023 (patch) | |
tree | b70975cb4de6b30cbc46aec203bb9dc541f6f510 /tools/perf/scripts/python/task-analyzer.py | |
parent | net: lan969x: add PTP handler function (diff) | |
download | wireguard-linux-5d2ba3941016c61093f2d6d986692bc39d000023.tar.xz wireguard-linux-5d2ba3941016c61093f2d6d986692bc39d000023.zip |
net: lan969x: add function for calculating the DSM calendar
Lan969x has support for RedBox / HSR / PRP (not implemented yet). In
order to accommodate for this in the future, we need to give lan969x it's
own function for calculating the DSM calendar.
The function calculates the calendar for each taxi bus. The calendar is
used for bandwidth allocation towards the ports attached to the taxi
bus. A calendar configuration consists of up-to 64 slots, which may be
allocated to ports or left unused. Each slot accounts for 1 clock cycle.
Also expose sparx5_cal_speed_to_value(), sparx5_get_port_cal_speed,
sparx5_cal_bw and SPX5_DSM_CAL_EMPTY for use by lan969x.
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-11-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions