summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2021-10-20 20:58:52 +0300
committerDavid S. Miller <davem@davemloft.net>2021-10-21 12:14:29 +0100
commitd4004422f6f9fa8e55c04482008c1c9f9edd2d19 (patch)
tree69f90992ad618bc9e25e5538d8686b314eb5e779 /tools/perf/scripts/python/exported-sql-viewer.py
parentbfbab3104413081907ad12dbec433f50fe3588cd (diff)
net: mscc: ocelot: track the port pvid using a pointer
Now that we have a list of struct ocelot_bridge_vlan entries, we can rewrite the pvid logic to simply point to one of those structures, instead of having a separate structure with a "bool valid". The NULL pointer will represent the lack of a bridge pvid (not to be confused with the lack of a hardware pvid on the port, that is present at all times). 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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions