Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Andreas K. Besslein and committed by
Jakub Kicinski
dc83ef22 bd858801

+1
+1
drivers/net/usb/ax88179_178a.c
··· 827 827 .nway_reset = usbnet_nway_reset, 828 828 .get_link_ksettings = ax88179_get_link_ksettings, 829 829 .set_link_ksettings = ax88179_set_link_ksettings, 830 + .get_ts_info = ethtool_op_get_ts_info, 830 831 }; 831 832 832 833 static void ax88179_set_multicast(struct net_device *net)