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: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Jacob Keller 2016-08-25 14:06:54 -07:00 committed by Jeff Kirsher
parent 7c70c4f8b2
commit bab02a6929
1 changed files with 1 additions and 0 deletions

View File

@ -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)