]> www.infradead.org Git - users/dwmw2/linux.git/commit
ax88179_178a: add ethtool_op_get_ts_info()
authorAndreas K. Besslein <besslein.andreas@gmail.com>
Sat, 23 Nov 2019 21:04:47 +0000 (22:04 +0100)
committerJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 25 Nov 2019 02:40:54 +0000 (18:40 -0800)
commitdc83ef22cdb483027f1bf0892e466433ec5299bf
tree2ab0d6ae3bf0316601aac9a87db7d051180f0f32
parentbd85880197d2f0150b10baf2fdfea7eed13f4aa8
ax88179_178a: add ethtool_op_get_ts_info()

This enables the use of SW timestamping.

ax88179_178a uses the usbnet transmit function usbnet_start_xmit() which
implements software timestamping. ax88179_178a overrides ethtool_ops but
missed to set .get_ts_info. This caused SOF_TIMESTAMPING_TX_SOFTWARE
capability to be not available.

Signed-off-by: Andreas K. Besslein <besslein.andreas@gmail.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
drivers/net/usb/ax88179_178a.c