Skip to contentSkip to conversation

r8152: Advertise support for software timestamping

PATCH In review Matthew Dawson 2 participants 2 messages Apr 5, 2023 – Apr 6, 2023

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 r8152: Advertise support for software timestamping

Since this drivers initial merge, the necessary support for software based timestamping has been available. Advertise support for this feature enables the linuxptp project to work with it.

---
 drivers/net/usb/r8152.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/r8152.c +1 -0
index decb5ba56a259..44f64fd765a7d 100644
@@ -9132,6 +9132,7 @@ static const struct ethtool_ops ops = {
 	.set_ringparam = rtl8152_set_ringparam,
 	.get_pauseparam = rtl8152_get_pauseparam,
 	.set_pauseparam = rtl8152_set_pauseparam,
+	.get_ts_info = ethtool_op_get_ts_info,
 };
 
 static int rtl8152_ioctl(struct net_device *netdev, struct ifreq *rq, int 

cmd)

Signature · 1 line
2.39.2
maintainer
#1 lore raw

Hi,

Quoted 22 lines · Matthew Dawson

Since this drivers initial merge, the necessary support for software based timestamping has been available. Advertise support for this feature enables the linuxptp project to work with it.

---
 drivers/net/usb/r8152.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/usb/r8152.c +1 -0
index decb5ba56a259..44f64fd765a7d 100644
@@ -9132,6 +9132,7 @@ static const struct ethtool_ops ops = {
 	.set_ringparam = rtl8152_set_ringparam,
 	.get_pauseparam = rtl8152_get_pauseparam,
 	.set_pauseparam = rtl8152_set_pauseparam,
+	.get_ts_info = ethtool_op_get_ts_info,
 };
 
 static int rtl8152_ioctl(struct net_device *netdev, struct ifreq *rq, int 
Quoted 1 line

cmd)

Does not apply cleanly to net-next due to last line being wrapped.

Please re-spin and specify the target tree into the subj.

Thanks!

Paolo