mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
4ca05145d4
commit
a8e846b8d9
@@ -9311,6 +9311,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)
|
||||
|
||||
Reference in New Issue
Block a user