提交 bab02a69 编写于 作者: J Jacob Keller 提交者: Jeff Kirsher

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.
Signed-off-by: NJacob Keller <jacob.e.keller@intel.com>
Tested-by: NKrishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 7c70c4f8
...@@ -1182,6 +1182,7 @@ static const struct ethtool_ops fm10k_ethtool_ops = { ...@@ -1182,6 +1182,7 @@ static const struct ethtool_ops fm10k_ethtool_ops = {
.set_rxfh = fm10k_set_rssh, .set_rxfh = fm10k_set_rssh,
.get_channels = fm10k_get_channels, .get_channels = fm10k_get_channels,
.set_channels = fm10k_set_channels, .set_channels = fm10k_set_channels,
.get_ts_info = ethtool_op_get_ts_info,
}; };
void fm10k_set_ethtool_ops(struct net_device *dev) void fm10k_set_ethtool_ops(struct net_device *dev)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册