]> git.baikalelectronics.ru Git - kernel.git/commitdiff
e1000e: Increase pause and refresh time
authorMiguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Mon, 27 Mar 2017 22:01:56 +0000 (16:01 -0600)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 28 Jun 2019 21:54:11 +0000 (14:54 -0700)
Suggested-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Acked-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/netdev.c

index b081a1ef68598f41cc53ea8fa21fe0bbac1e1daf..2454a3757bf33151aa4e8e60de509a10a6b70730 100644 (file)
@@ -4046,12 +4046,12 @@ void e1000e_reset(struct e1000_adapter *adapter)
        case e1000_pch_lpt:
        case e1000_pch_spt:
        case e1000_pch_cnp:
-               fc->refresh_time = 0x0400;
+               fc->refresh_time = 0xFFFF;
+               fc->pause_time = 0xFFFF;
 
                if (adapter->netdev->mtu <= ETH_DATA_LEN) {
                        fc->high_water = 0x05C20;
                        fc->low_water = 0x05048;
-                       fc->pause_time = 0x0650;
                        break;
                }