aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Nguyen <anthony.l.nguyen@intel.com>2018-12-19 13:03:31 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-01-15 14:56:26 -0500
commita8939784a17a54566e8d8ab26e9a9c36e4598281 (patch)
tree324070b4d3bfccdf8023ded0d6cd63bc7978577d
parent67fe64d78c437d3f5a280a074e8467fa9b16216d (diff)
ice: Allow for software timestamping
Use ethtool_op_get_ts_info to provide software timestamping. Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
-rw-r--r--drivers/net/ethernet/intel/ice/ice_ethtool.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_ethtool.c b/drivers/net/ethernet/intel/ice/ice_ethtool.c
index 02316e32dfb3..1f6a5f073e91 100644
--- a/drivers/net/ethernet/intel/ice/ice_ethtool.c
+++ b/drivers/net/ethernet/intel/ice/ice_ethtool.c
@@ -2104,6 +2104,7 @@ static const struct ethtool_ops ice_ethtool_ops = {
2104 .get_rxfh_indir_size = ice_get_rxfh_indir_size, 2104 .get_rxfh_indir_size = ice_get_rxfh_indir_size,
2105 .get_rxfh = ice_get_rxfh, 2105 .get_rxfh = ice_get_rxfh,
2106 .set_rxfh = ice_set_rxfh, 2106 .set_rxfh = ice_set_rxfh,
2107 .get_ts_info = ethtool_op_get_ts_info,
2107 .get_per_queue_coalesce = ice_get_per_q_coalesce, 2108 .get_per_queue_coalesce = ice_get_per_q_coalesce,
2108 .set_per_queue_coalesce = ice_set_per_q_coalesce, 2109 .set_per_queue_coalesce = ice_set_per_q_coalesce,
2109}; 2110};