]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: mvpp2: ptp: add support for transmit timestamping
authorRussell King <rmk+kernel@armlinux.org.uk>
Wed, 9 Sep 2020 16:26:00 +0000 (17:26 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Sep 2020 21:22:42 +0000 (14:22 -0700)
commitf5015a594c50c29155a029f6470ce2afd3e65c57
treeb506390e0ccb2e131584f20c56c07ca195868785
parentce3497e2072e2c6120cea80cb49a5fee9d1245d3
net: mvpp2: ptp: add support for transmit timestamping

Add support for timestamping transmit packets.  We allocate SYNC
messages to queue 1, every other message to queue 0.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvpp2/mvpp2.h
drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c