dpaa_eth: add support for hardware timestamping
commit4664856e9ca2e5061718d639bac2741464cf3d23
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 25 Jun 2018 12:37:15 +0000 (25 20:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:15:14 +0000 (26 22:15 +0900)
tree77d0feaa33d4298da8b63c8850c1d659f55d80b6
parentdcce36ab7130a6ed46e9a9cce8b7452bffd95966
dpaa_eth: add support for hardware timestamping

This patch is to add hardware timestamping support
for dpaa_eth. 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: Yangbo Lu <yangbo.lu@nxp.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Acked-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c
drivers/net/ethernet/freescale/dpaa/dpaa_eth.h