Thread (3 messages) flat view 3 messages, 3 authors, 2017-07-14

RE: [PATCH] smsc95xx: use ethtool_op_get_ts_info()

From: <Woojung.Huh@microchip.com>
Date: 2017-07-13 18:29:19

-----Original Message-----
From: Petr Kulhavy [mailto:brain@jikos.cz]
Sent: Thursday, July 13, 2017 1:41 PM
To: steve.glendinning@shawell.net; UNGLinuxDriver
Cc: netdev@vger.kernel.org; linux-usb@vger.kernel.org; Petr Kulhavy
Subject: [PATCH] smsc95xx: use ethtool_op_get_ts_info()

This change enables the use of SW timestamping on Raspberry PI.

smsc95xx uses the usbnet transmit function usbnet_start_xmit(), which
implements software timestamping. However the
SOF_TIMESTAMPING_TX_SOFTWARE
capability was missing and only SOF_TIMESTAMPING_RX_SOFTWARE was
announced.
By using ethtool_op_get_ts_info() as get_ts_info() also the
SOF_TIMESTAMPING_TX_SOFTWARE is announced.

Signed-off-by: Petr Kulhavy <redacted>
Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com>

Thanks
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help