aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-04 11:21:12 +0100
committerDavid S. Miller <davem@davemloft.net>2024-10-09 12:13:11 +0100
commit7921d3e602fc89a36dbef5b46d307bed47396409 (patch)
tree64d6cab69d1d26adfc8cc0fa3631ae2518c5b855 /tools/perf/scripts/python
parentnet: pcs: xpcs: rename xpcs_get_id() (diff)
downloadlinux-7921d3e602fc89a36dbef5b46d307bed47396409.tar.gz
linux-7921d3e602fc89a36dbef5b46d307bed47396409.zip
net: pcs: xpcs: move searching ID list out of line
Move the searching of the physical ID out of xpcs_create() and into its own xpcs_identify() function, which makes it self contained. This reduces the complexity in xpcs_craete(), making it easier to follow, rather than having a lot of once-run code in the big for() loop. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions