summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Machon <daniel.machon@microchip.com>2024-10-04 16:19:34 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-10-08 13:07:01 +0300
commit048c96907ca150c487da66ce0cc3528ab68a1661 (patch)
treed788bed5b27549f054bcfd16791d27c86f9f8bf6 /tools/perf/scripts/python
parent559fb423d5f2d64b6cd74f4ad7bdc09795c67a06 (diff)
downloadlinux-048c96907ca150c487da66ce0cc3528ab68a1661.tar.xz
net: sparx5: add ops to match data
Add new struct sparx5_ops, containing functions that needs to be different as the implementation differs on Sparx5 and lan969x. Initially we add functions for checking the port type (2g5, 5g, 10g or 25g) based on the port number. Update the code to use the ops instead of the platform specific functions. Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com> Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Daniel Machon <daniel.machon@microchip.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions