diff options
author | Andreas K. Besslein <besslein.andreas@gmail.com> | 2019-11-23 22:04:47 +0100 |
---|---|---|
committer | Jakub Kicinski <jakub.kicinski@netronome.com> | 2019-11-24 18:40:54 -0800 |
commit | dc83ef22cdb483027f1bf0892e466433ec5299bf (patch) | |
tree | 2ab0d6ae3bf0316601aac9a87db7d051180f0f32 /drivers/net/usb | |
parent | bd85880197d2f0150b10baf2fdfea7eed13f4aa8 (diff) | |
download | linux-dc83ef22cdb483027f1bf0892e466433ec5299bf.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r-- | drivers/net/usb/ax88179_178a.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index c5a6e75c24e3..93044cf1417a 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c @@ -827,6 +827,7 @@ static const struct ethtool_ops ax88179_ethtool_ops = { .nway_reset = usbnet_nway_reset, .get_link_ksettings = ax88179_get_link_ksettings, .set_link_ksettings = ax88179_set_link_ksettings, + .get_ts_info = ethtool_op_get_ts_info, }; static void ax88179_set_multicast(struct net_device *net) |