enetc: add software timestamping
authorMichael Walle <michael@walle.cc>
Tue, 10 Dec 2019 00:15:37 +0000 (01:15 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2019 01:32:06 +0000 (17:32 -0800)
commit4caefbce06d138306ef4e9f635e5b02b62d56911
tree08419bd8c79bee8f327faceb921c96001b9c9ec5
parentbb9d8454bb0fed028558d1e66b12d50db5e43e06
enetc: add software timestamping

Provide a software TX timestamp and add it to the ethtool query
interface.

skb_tx_timestamp() is also needed if one would like to use PHY
timestamping.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc.c
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c