]> git.baikalelectronics.ru Git - kernel.git/commit
dpaa_eth: add support for hardware timestamping
authorYangbo Lu <yangbo.lu@nxp.com>
Mon, 25 Jun 2018 12:37:15 +0000 (20:37 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2018 13:15:14 +0000 (22:15 +0900)
commit31cc7c4edbe3be532afe30a75be854f543815d2e
tree77d0feaa33d4298da8b63c8850c1d659f55d80b6
parent6ded83f2164f442b8758183c1bd795ce5d70f2e5
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