]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: mvpp2: add support for hardware timestamps
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 15 Sep 2025 12:10:18 +0000 (13:10 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 23:30:56 +0000 (16:30 -0700)
commit3ea308da69b1a0848828e95eb5d514873f3a5249
treed7817da1d0d36ebc6eae7c886cb628fc59924e57
parent5ed994dd0b7ba1f98f234cd92d3a31b1a7696380
net: mvpp2: add support for hardware timestamps

Add support for hardware timestamps in (e.g.) the PHY by calling
skb_tx_timestamp() as close as reasonably possible to the point that
the hardware is instructed to send the queued packets.

As this also introduces software timestamping support, report those
capabilities via the .get_ts_info() method.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1uy82E-00000005Sll-0SSy@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c