diff options
author | 2021-10-22 19:11:57 +0200 | |
---|---|---|
committer | 2022-03-13 09:45:35 +0100 | |
commit | a1439a5add6266ae1c02d2ef60c188ae16f4384a (patch) | |
tree | 41ba71be68c604380c7dcdcff2c1de57c1abf4de /tools/perf/scripts/python/stackcollapse.py | |
parent | can: mcp251xfd: mcp251xfd_ring_init(): use %d to print free RAM (diff) | |
download | linux-dev-a1439a5add6266ae1c02d2ef60c188ae16f4384a.tar.xz linux-dev-a1439a5add6266ae1c02d2ef60c188ae16f4384a.zip |
can: mcp251xfd: ram: add helper function for runtime ring size calculation
This patch adds a helper function to calculate the ring configuration
of the controller based on various constraints, like available RAM,
size of RX and TX objects, CAN-mode, number of FIFOs and FIFO depth.
Link: https://lore.kernel.org/20220313083640.501791-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions