diff options
author | 2017-11-03 19:05:27 -0400 | |
---|---|---|
committer | 2017-11-05 22:31:39 +0900 | |
commit | 975e6e32215e6cbc09b65d762865b1a46e8e9103 (patch) | |
tree | 93a36b4df42a92294714cbdf8a70e4b23c427be8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: get tree before parsing ports (diff) | |
download | wireguard-linux-975e6e32215e6cbc09b65d762865b1a46e8e9103.tar.xz wireguard-linux-975e6e32215e6cbc09b65d762865b1a46e8e9103.zip |
net: dsa: rework switch parsing
When parsing a switch, we have to identify to which tree it belongs and
parse its ports. Provide two functions to separate the OF and platform
data specific paths.
Also use the of_property_read_variable_u32_array function to parse the
OF member array instead of calling of_property_read_u32_index twice.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions