diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2012-11-14 20:10:37 -0500 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-01-23 17:32:57 -0500 |
commit | aeb8264847c0194e42c8023cea89305c377f20e3 (patch) | |
tree | 31f14dc0cefeb081fd03d77ee17d9d0a00cf71c7 /drivers | |
parent | dfcc4615f09c33454bc553567f7c7506cae60cb9 (diff) |
ixgbe: add missing supported filters to get_ts_info
This patch updates the filters for ethtool's get_ts_info to return support for
all filters which can be supported by upscaling to ptp_v2_event. The intent
behind this change is due to reasoning that we do in fact support the
filters. (hwtstamp_ioctl returns success after setting the filter to the
upscaled version). In this way we can remain consistent over which filters are
supported via the get_ts_info ioctl and which filters are in practice actually
supported.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c index 21bc72e99c2e..1513b1052ee2 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | |||
@@ -2709,6 +2709,14 @@ static int ixgbe_get_ts_info(struct net_device *dev, | |||
2709 | (1 << HWTSTAMP_FILTER_NONE) | | 2709 | (1 << HWTSTAMP_FILTER_NONE) | |
2710 | (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | | 2710 | (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) | |
2711 | (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) | | 2711 | (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) | |
2712 | (1 << HWTSTAMP_FILTER_PTP_V2_L2_EVENT) | | ||
2713 | (1 << HWTSTAMP_FILTER_PTP_V2_L4_EVENT) | | ||
2714 | (1 << HWTSTAMP_FILTER_PTP_V2_SYNC) | | ||
2715 | (1 << HWTSTAMP_FILTER_PTP_V2_L2_SYNC) | | ||
2716 | (1 << HWTSTAMP_FILTER_PTP_V2_L4_SYNC) | | ||
2717 | (1 << HWTSTAMP_FILTER_PTP_V2_DELAY_REQ) | | ||
2718 | (1 << HWTSTAMP_FILTER_PTP_V2_L2_DELAY_REQ) | | ||
2719 | (1 << HWTSTAMP_FILTER_PTP_V2_L4_DELAY_REQ) | | ||
2712 | (1 << HWTSTAMP_FILTER_PTP_V2_EVENT); | 2720 | (1 << HWTSTAMP_FILTER_PTP_V2_EVENT); |
2713 | break; | 2721 | break; |
2714 | default: | 2722 | default: |