diff options
| author | Ryan M. Collins <[email protected]> | 2019-08-30 18:49:55 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-09-01 06:51:19 +0000 |
| commit | dd1bf47a84fe64edf50f6a83fdc164d0da6fa021 (patch) | |
| tree | 545be319ac6fabcd598394041d6ce87e27dc863f /tools/perf/scripts/python | |
| parent | tc-testing: don't hardcode 'ip' in nsPlugin.py (diff) | |
| download | kernel-dd1bf47a84fe64edf50f6a83fdc164d0da6fa021.tar.gz kernel-dd1bf47a84fe64edf50f6a83fdc164d0da6fa021.zip | |
net: bcmgenet: use ethtool_op_get_ts_info()
This change enables the use of SW timestamping on the Raspberry Pi 4.
bcmgenet's transmit function bcmgenet_xmit() implements software
timestamping. However the SOF_TIMESTAMPING_TX_SOFTWARE capability was
missing and only SOF_TIMESTAMPING_RX_SOFTWARE was announced. By using
ethtool_ops bcmgenet_ethtool_ops() as get_ts_info(), the
SOF_TIMESTAMPING_TX_SOFTWARE capability is announced.
Similar to commit a8f5cb9e7991 ("smsc95xx: use ethtool_op_get_ts_info()")
Signed-off-by: Ryan M. Collins <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
Acked-by: Doug Berger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
