aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorLorenzo Carletti <[email protected]>2021-01-27 02:06:32 +0100
committerJakub Kicinski <[email protected]>2021-01-27 20:21:20 -0800
commitd1f3bdd4eaae1222063c2f309625656108815915 (patch)
tree9f1070b4489a8daaa4944568ea168b745001b55e /tools/perf/scripts/python/bin/export-to-postgresql-report
parent5cc921a38f2bba2e02e4caba62b4d364e95dd9b7 (diff)
net: dsa: rtl8366rb: standardize init jam tables
In the rtl8366rb driver there are some jam tables which contain undocumented values. While trying to understand what these tables actually do, I noticed a discrepancy in how one of those was treated. Most of them were plain u16 arrays, while the ethernet one was an u16 matrix. By looking at the vendor's droplets of source code these tables came from, I found out that they were all originally u16 matrixes. This commit standardizes the jam tables, turning them all into jam_tbl_entry arrays. Each entry contains 2 u16 values. This change makes it easier to understand how the jam tables are used and also makes it possible for a single function to handle all of them, removing some duplicated code. Signed-off-by: Lorenzo Carletti <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions