aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2023-04-12 15:47:31 +0300
committerJakub Kicinski <[email protected]>2023-04-13 21:56:06 -0700
commit40cd07cb42617f0e8b8597d0db288a5ce66621d9 (patch)
treeb7d75e2edcb5f4b56421425ff7940ff5ba2060db /tools/perf/scripts/python/export-to-postgresql.py
parent9ecd05794b8da1f6cfca4c3721a3b0fed2e21a82 (diff)
net: mscc: ocelot: refactor enum ocelot_reg decoding to helper
ocelot_io.c duplicates the decoding of an enum ocelot_reg (which holds an enum ocelot_target in the upper bits and an index into a regmap array in the lower bits) 4 times. We'd like to reuse that logic once more, from ocelot.c. In order to do that, let's consolidate the existing 4 instances into a header accessible both by ocelot.c as well as by ocelot_io.c. Signed-off-by: Vladimir Oltean <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions