e1000e: advertise transmit time stamping
authorRichard Cochran <richardcochran@gmail.com>
Sun, 22 Jul 2012 07:15:41 +0000 (07:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Jul 2012 19:33:32 +0000 (12:33 -0700)
This driver now offers software transmit time stamping, so it should
advertise that fact via ethtool. Compile tested only.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Cc: Willem de Bruijn <willemb@google.com>
Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Cc: e1000-devel@lists.sourceforge.net
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/e1000e/ethtool.c

index 105d554ea9dbbeb1aeb8ffc36207696dac81f034..0349e2478df8f294b04c4c54fc036cc627312afe 100644 (file)
@@ -2061,6 +2061,7 @@ static const struct ethtool_ops e1000_ethtool_ops = {
        .get_coalesce           = e1000_get_coalesce,
        .set_coalesce           = e1000_set_coalesce,
        .get_rxnfc              = e1000_get_rxnfc,
+       .get_ts_info            = ethtool_op_get_ts_info,
 };
 
 void e1000e_set_ethtool_ops(struct net_device *netdev)