Skip to contentSkip to conversation

fm10k: use generic ethtool_op_get_ts_info callback

PATCH New Jacob Keller 2 participants 2 messages Aug 25, 2016 – Aug 30, 2016

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

PATCH 1/1 fm10k: use generic ethtool_op_get_ts_info callback

This generic callback is for drivers which have software Tx timestamp support enabled. Without this, PTP applications requesting software timestamps may complain that the requested mode is not supported.

---
 drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/ethernet/intel/fm10k/fm10k_ethtool.c +1 -0
index adb7cb4311ba..5241e0873397 100644
@@ -1182,6 +1182,7 @@ static const struct ethtool_ops fm10k_ethtool_ops = {
 	.set_rxfh		= fm10k_set_rssh,
 	.get_channels		= fm10k_get_channels,
 	.set_channels		= fm10k_set_channels,
+	.get_ts_info		= ethtool_op_get_ts_info,
 };
 
 void fm10k_set_ethtool_ops(struct net_device *dev)
Signature · 1 line
2.10.0.rc0.259.g83512d9
#1 lore raw

PATCH 1/1 fm10k: use generic ethtool_op_get_ts_info callback

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Thursday, August 25, 2016 2:07 PM
To: Intel Wired LAN <[email protected]>
Subject: [Intel-wired-lan] [PATCH] fm10k: use generic ethtool_op_get_ts_info callback

This generic callback is for drivers which have software Tx timestamp support enabled. Without this, PTP applications requesting software timestamps may complain that the requested mode is not supported.

---