ixgbe: only report generic filters in get_ts_info
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 22 Apr 2015 21:40:35 +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: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c

index ec7b2324b77b42489d9892de6b785ab7ca9936cf..f7aeb560a504af040603b2c3ebfa939f5d85b285 100644 (file)
@@ -2938,14 +2938,6 @@ static int ixgbe_get_ts_info(struct net_device *dev,
                        (1 << HWTSTAMP_FILTER_NONE) |
                        (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) |
                        (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L2_EVENT) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L4_EVENT) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_SYNC) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L2_SYNC) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L4_SYNC) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_DELAY_REQ) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ) |
-                       (1 << HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) |
                        (1 << HWTSTAMP_FILTER_PTP_V2_EVENT);
                break;
        default: