diff options
| author | Vivien Didelot <[email protected]> | 2017-05-16 14:10:33 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-05-17 14:19:12 -0400 |
| commit | 8b0d3ea555876533b6aa61479335be2c9bdb47e7 (patch) | |
| tree | ca5c67ec93da1a266890f10bab4b09dd29092f32 /tools/perf/scripts/python | |
| parent | 631581bf4609d4c37a70873eb1df89fc7a335d9b (diff) | |
net: dsa: store CPU port pointer in the tree
A dsa_switch_tree instance holds a dsa_switch pointer and a port index
to identify the switch port to which the CPU is attached.
Now that the DSA layer has a dsa_port structure to hold this data, use
it to point the switch CPU port.
This patch simply substitutes s/dst->cpu_switch/dst->cpu_dp->ds/ and
s/dst->cpu_port/dst->cpu_dp->index/.
Signed-off-by: Vivien Didelot <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions