提交 fb8d784b 编写于 作者: M Maxime Chevallier 提交者: Jakub Kicinski

net: ethernet: altera: Add use of ethtool_op_get_ts_info

Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can
at least use software timestamping.
Signed-off-by: NMaxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://lore.kernel.org/r/20220817095725.97444-1-maxime.chevallier@bootlin.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
上级 e34cfee6
...@@ -233,6 +233,7 @@ static const struct ethtool_ops tse_ethtool_ops = { ...@@ -233,6 +233,7 @@ static const struct ethtool_ops tse_ethtool_ops = {
.set_msglevel = tse_set_msglevel, .set_msglevel = tse_set_msglevel,
.get_link_ksettings = phy_ethtool_get_link_ksettings, .get_link_ksettings = phy_ethtool_get_link_ksettings,
.set_link_ksettings = phy_ethtool_set_link_ksettings, .set_link_ksettings = phy_ethtool_set_link_ksettings,
.get_ts_info = ethtool_op_get_ts_info,
}; };
void altera_tse_set_ethtool_ops(struct net_device *netdev) void altera_tse_set_ethtool_ops(struct net_device *netdev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册