summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2017-03-31 00:37:10 +0300
committerDavid S. Miller <davem@davemloft.net>2017-04-01 22:22:57 +0300
commit73b1204d070d2970749beb3fa3ca6e639dc7a3b6 (patch)
tree94fb308feaf6fb4fc3533b8d04cb71a0753e2cf2 /tools/perf/scripts/python
parent17a1594e2d58f021d629da72d1a82b1441217460 (diff)
downloadlinux-73b1204d070d2970749beb3fa3ca6e639dc7a3b6.tar.xz
net: dsa: mv88e6xxx: allocate the number of ports
The current code allocates DSA_MAX_PORTS ports for a Marvell dsa_switch structure. Provide the exact number of ports so the corresponding ds->num_ports is accurate. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions