net: lan78xx: advertise tx software timestamping support
authorMarkus Bloechl <markus.bloechl@ipetronik.com>
Tue, 18 May 2021 09:54:11 +0000 (11:54 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 May 2021 20:38:48 +0000 (13:38 -0700)
commit33e6b1674f339c5d3be56ec9b4921d1ddd14327d
tree04ec0ca30db814f40fa6ac191d2e0781b95cd613
parentbe07f056396d6bb40963c45a02951c566ddeef8e
net: lan78xx: advertise tx software timestamping support

lan78xx already calls skb_tx_timestamp() in its lan78xx_start_xmit().
Override .get_ts_info to also advertise this capability
(SOF_TIMESTAMPING_TX_SOFTWARE) via ethtool.

Signed-off-by: Markus Blöchl <markus.bloechl@ipetronik.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c