summaryrefslogtreecommitdiffstats
path: root/patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch')
-rw-r--r--patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch b/patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch
new file mode 100644
index 0000000..1c50e74
--- /dev/null
+++ b/patches/boot_time_opt/0125-e1000e-increase-pause-and-refresh-time.patch
@@ -0,0 +1,33 @@
1From 6730c1ae12a567d56092d15540d2f971be95b936 Mon Sep 17 00:00:00 2001
2From: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
3Date: Mon, 27 Mar 2017 16:01:56 -0600
4Subject: [PATCH] e1000e: increase pause and refresh time
5
6Suggested-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
7Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
8---
9 drivers/net/ethernet/intel/e1000e/netdev.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/drivers/net/ethernet/intel/e1000e/netdev.c b/drivers/net/ethernet/intel/e1000e/netdev.c
13index 7d68d694ed9e..1db390a52656 100644
14--- a/drivers/net/ethernet/intel/e1000e/netdev.c
15+++ b/drivers/net/ethernet/intel/e1000e/netdev.c
16@@ -4032,12 +4032,12 @@ void e1000e_reset(struct e1000_adapter *adapter)
17 case e1000_pch2lan:
18 case e1000_pch_lpt:
19 case e1000_pch_spt:
20- fc->refresh_time = 0x0400;
21+ fc->refresh_time = 0xFFFF;
22+ fc->pause_time = 0xFFFF;
23
24 if (adapter->netdev->mtu <= ETH_DATA_LEN) {
25 fc->high_water = 0x05C20;
26 fc->low_water = 0x05048;
27- fc->pause_time = 0x0650;
28 break;
29 }
30
31--
322.12.2
33