]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.6.2/ixgbe-fix-ptp-ethtool-timestamping-function.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 3.6.2 / ixgbe-fix-ptp-ethtool-timestamping-function.patch
CommitLineData
bd7abca0
GKH
1From 1cc92eb871d6cbb1da038b4bcd89eec3c73b9781 Mon Sep 17 00:00:00 2001
2From: Jacob Keller <jacob.e.keller@intel.com>
3Date: Fri, 21 Sep 2012 07:23:20 +0000
4Subject: ixgbe: fix PTP ethtool timestamping function
5
6From: Jacob Keller <jacob.e.keller@intel.com>
7
8commit 1cc92eb871d6cbb1da038b4bcd89eec3c73b9781 upstream.
9
10This patch fixes a development issue that occurred due to invalid modes reported
11in the ethtool get_ts_info function. The issue is resolved by removing
12unsupported modes from the Rx supported list.
13
14Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
15Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
16Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
17Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19---
20 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c | 5 +----
21 1 file changed, 1 insertion(+), 4 deletions(-)
22
23--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
24+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
25@@ -2690,10 +2690,7 @@ static int ixgbe_get_ts_info(struct net_
26 (1 << HWTSTAMP_FILTER_NONE) |
27 (1 << HWTSTAMP_FILTER_PTP_V1_L4_SYNC) |
28 (1 << HWTSTAMP_FILTER_PTP_V1_L4_DELAY_REQ) |
29- (1 << HWTSTAMP_FILTER_PTP_V2_SYNC) |
30- (1 << HWTSTAMP_FILTER_PTP_V2_DELAY_REQ) |
31- (1 << HWTSTAMP_FILTER_PTP_V2_EVENT) |
32- (1 << HWTSTAMP_FILTER_SOME);
33+ (1 << HWTSTAMP_FILTER_PTP_V2_EVENT);
34 break;
35 #endif /* CONFIG_IXGBE_PTP */
36 default: