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

Configure Feed

Select the types of activity you want to include in your feed.

r8152: Advertise software timestamp information.

Driver calls skb_tx_timestamp(skb) in rtl8152_start_xmit(), but does not advertise the capability in ethtool.
Advertise software timestamp capabilities on struct ethtool_ops.

Signed-off-by: Abhishek Rawal <rawal.abhishek92@gmail.com>
Reviewed-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20251014055234.46527-1-rawal.abhishek92@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Abhishek Rawal and committed by
Jakub Kicinski
a8e846b8 4ca05145

+1
+1
drivers/net/usb/r8152.c
··· 9311 9311 .set_ringparam = rtl8152_set_ringparam, 9312 9312 .get_pauseparam = rtl8152_get_pauseparam, 9313 9313 .set_pauseparam = rtl8152_set_pauseparam, 9314 + .get_ts_info = ethtool_op_get_ts_info, 9314 9315 }; 9315 9316 9316 9317 static int rtl8152_ioctl(struct net_device *netdev, struct ifreq *rq, int cmd)