Skip to content

Commit

Permalink
net: ethernet: altera: Add use of ethtool_op_get_ts_info
Browse files Browse the repository at this point in the history
Add the ethtool_op_get_ts_info() callback to ethtool ops, so that we can
at least use software timestamping.

Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://lore.kernel.org/r/20220817095725.97444-1-maxime.chevallier@bootlin.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
  • Loading branch information
Maxime Chevallier authored and Jakub Kicinski committed Aug 18, 2022
1 parent e34cfee commit fb8d784
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/altera/altera_tse_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ static const struct ethtool_ops tse_ethtool_ops = {
.set_msglevel = tse_set_msglevel,
.get_link_ksettings = phy_ethtool_get_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)
Expand Down

0 comments on commit fb8d784

Please sign in to comment.