diff options
author | Christian Marangi <[email protected]> | 2022-07-27 13:35:16 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-07-28 22:24:38 -0700 |
commit | 472fcea160f27a5d9b7526093d9d8d89ba0b6137 (patch) | |
tree | 98deb954305971240dba3bfd6c52c45a3a877633 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | fce1ec0c4e2d03d9c62ffc615a42bdba78eb4c14 (diff) |
net: dsa: qca8k: move port set status/eee/ethtool stats function to common code
The same logic to disable/enable port, set eee and get ethtool stats is
used by drivers based on qca8k family switch.
Move it to common code to make it accessible also by other drivers.
While at it also drop unnecessary qca8k_priv cast for void pointers.
Signed-off-by: Christian Marangi <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions