aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-05-24 16:14:16 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-24 13:59:03 -0700
commitdf2a81a35ebb507d8d614d993d3b55425d73ffee (patch)
tree35a2949ae11ec76a25f0f939acab9d14440a92c7 /tools/perf/scripts/python/export-to-sqlite.py
parentnet: dsa: sja1105: dimension the data structures for a larger port count (diff)
downloadlinux-dev-df2a81a35ebb507d8d614d993d3b55425d73ffee.tar.xz
linux-dev-df2a81a35ebb507d8d614d993d3b55425d73ffee.zip
net: dsa: sja1105: don't assign the host port using dsa_upstream_port()
If @port is unused, then dsa_upstream_port(ds, port) returns @port, which means we cannot assume the CPU port can be retrieved this way. The sja1105 switches support a single CPU port, so just iterate over the switch ports and stop at the first CPU port we see. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions