veth: add software timestamping
authorMichael Walle <michael@walle.cc>
Wed, 29 Aug 2018 15:24:11 +0000 (17:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 05:56:46 +0000 (22:56 -0700)
commitaa4e689ed1a7b5c1a479a57f05da0a340b1f8d0c
treef576b7907f98f8a9fc18ac0f98016b8707053082
parentf061b48c1787e6fece2190e27da6878f4f1796d0
veth: add software timestamping

Provide a software TX timestamp as well as the ethtool query interface
and report the software timestamp capabilities.

Tested with "ethtool -T" and two linuxptp instances each bound to a
tunnel endpoint.

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