aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2021-01-25 16:04:48 +0100
committerJakub Kicinski <[email protected]>2021-01-26 17:58:28 -0800
commit67c9ed1c8809d554082a30a1b38b460a6e8405c0 (patch)
tree308ec9064b0030a47c6359bc1cbdaa60f770ef78 /tools/perf/scripts/python/net_dropmonitor.py
parent9b0b7837b9f1b29e89de8c5e321dc94601fda4b5 (diff)
net: dsa: mv88e6xxx: use mv88e6185_g1_vtu_getnext() for the 6250
mv88e6250_g1_vtu_getnext is almost identical to mv88e6185_g1_vtu_getnext, except for the 6250 only having 64 databases instead of 256. We can reduce code duplication by simply masking off the extra two garbage bits when assembling the fid from VTU op [3:0] and [11:8]. Reviewed-by: Tobias Waldekranz <[email protected]> Tested-by: Tobias Waldekranz <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Signed-off-by: Rasmus Villemoes <[email protected]> Reviewed-by: Vladimir Oltean <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions