i40e: only report generic filters in get_ts_info
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 22 Apr 2015 21:40:33 +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: Jim Young <james.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_ethtool.c

index 0b68f61eeb0c0c07b89e30bf021049526e9e025d..f2075d5b800c193747d3faf487cd0d5ce5bec878 100644 (file)
@@ -1467,17 +1467,8 @@ static int i40e_get_ts_info(struct net_device *dev,
        info->tx_types = (1 << HWTSTAMP_TX_OFF) | (1 << HWTSTAMP_TX_ON);
 
        info->rx_filters = (1 << HWTSTAMP_FILTER_NONE) |
-                          (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) |
-                          (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) |
-                          (1 << HWTSTAMP_FILTER_PTP_V2_EVENT) |
-                          (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_V1_L4_EVENT) |
+                          (1 << HWTSTAMP_FILTER_PTP_V2_EVENT);
 
        return 0;
 }