igb: only report generic filters in get_ts_info
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 22 Apr 2015 21:40:34 +0000 (14:40 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 18 Jul 2015 02:59:05 +0000 (19:59 -0700)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_ethtool.c

index d5673eb..109cad9 100644 (file)
@@ -2396,10 +2396,6 @@ static int igb_get_ts_info(struct net_device *dev,
                        info->rx_filters |=
                                (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) |
                                (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) |
-                               (1 << HWTSTAMP_FILTER_PTP_V2_L2_SYNC) |
-                               (1 << HWTSTAMP_FILTER_PTP_V2_L4_SYNC) |
-                               (1 << HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ) |
-                               (1 << HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) |
                                (1 << HWTSTAMP_FILTER_PTP_V2_EVENT);
 
                return 0;