summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2024-10-04 13:21:22 +0300
committerDavid S. Miller <davem@davemloft.net>2024-10-09 14:13:11 +0300
commitce8d6081fcf46d951a5e13134f46c6fedf152632 (patch)
treeb72b276d14f75b422c1db6d357eab88091036ffc /tools/perf/scripts/python/export-to-postgresql.py
parentf6818918106113e04796c4558cbd98d01e04f002 (diff)
downloadlinux-ce8d6081fcf46d951a5e13134f46c6fedf152632.tar.xz
net: pcs: xpcs: add _modify() accessors
The xpcs driver does a lot of read-modify-write operations on registers, which leads to long-winded code to read the register, check whether the read was successful, modify the value in some way, and then write it back. We have a mdiodev _modify() accessor that encapsulates this, and does the register modification under the MDIO bus lock ensuring that the modification is atomic with respect to other bus operations. Convert the xpcs driver to use this accessor. 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions