]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ice: Allow for software timestamping
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 19 Dec 2018 18:03:31 +0000 (10:03 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 15 Jan 2019 19:56:26 +0000 (11:56 -0800)
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>
drivers/net/ethernet/intel/ice/ice_ethtool.c

index 02316e32dfb302a0c9ef6ac68ae1616e2dbef37c..1f6a5f073e91610f5ea99e8654ac08887a35fd10 100644 (file)
@@ -2104,6 +2104,7 @@ static const struct ethtool_ops ice_ethtool_ops = {
        .get_rxfh_indir_size    = ice_get_rxfh_indir_size,
        .get_rxfh               = ice_get_rxfh,
        .set_rxfh               = ice_set_rxfh,
+       .get_ts_info            = ethtool_op_get_ts_info,
        .get_per_queue_coalesce = ice_get_per_q_coalesce,
        .set_per_queue_coalesce = ice_set_per_q_coalesce,
 };