diff options
| author | Vivien Didelot <[email protected]> | 2017-09-19 11:56:59 -0400 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-09-19 16:04:23 -0700 |
| commit | 1943563dfd4b3a1f9dc102f056813112d29bb60f (patch) | |
| tree | ed18f62dc3e451b042262b9fa35f7101dd3736aa /tools/perf/scripts/python | |
| parent | cd8d7dd41bfddaa02e34db35abfab14ce4584dee (diff) | |
net: dsa: setup master ethtool after dsa_ptr
DSA overrides the master's ethtool ops so that we can inject its CPU
port's statistics. Because of that, we need to setup the ethtool ops
after the master's dsa_ptr pointer has been assigned, not before.
This patch setups the ethtool ops after dsa_ptr is assigned, and
restores them before it gets cleared.
Signed-off-by: Vivien Didelot <[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