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)
commit859f998ec5c7842801e5f753286d4ceecd230921
tree5ec95aff78d86ca7c465889143c932f40c07c637
parentfec2dbfeba0967fbb4cdf69114db29d5333d8a8f
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