igc: Add support for ethtool GET_TS_INFO command
authorVinicius Costa Gomes <vinicius.gomes@intel.com>
Mon, 2 Dec 2019 23:19:52 +0000 (15:19 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 6 Jan 2020 22:59:48 +0000 (14:59 -0800)
commit60dbede0c4f3d7b1a1f56d1f91bbca3c5a73f7f5
tree6ce4aa95d50cf8bb9d98078e454d6ce1f359d36e
parent2c344ae24501558b14341247abef41e0b420c090
igc: Add support for ethtool GET_TS_INFO command

This command allows igc to report what types of timestamping are
supported. ptp4l uses this to detect if the hardware supports
timestamping.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_ethtool.c