]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-dpaa2/eth: Add support for hardware timestamping
authorIoana Radulescu <ruxandra.radulescu@nxp.com>
Thu, 26 Apr 2018 10:23:47 +0000 (18:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 13:25:07 +0000 (15:25 +0200)
commite1ca972f8a3d72219960ab159d64af468246a73b
tree5ec95aff78d86ca7c465889143c932f40c07c637
parentf6733a66c77a7d203e34f2c2345c32a370c3d32e
staging: fsl-dpaa2/eth: Add support for hardware timestamping

Hardware timestamping is supported both on Rx and Tx paths.
On Rx, timestamping is enabled for all frames. On Tx, we
only instruct the hardware to timestamp the frames marked
accordingly by the stack.

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h