]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Check and correct speed values for link on open
authorJan Sokolowski <jan.sokolowski@intel.com>
Tue, 28 Aug 2018 17:16:01 +0000 (10:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 30 Aug 2018 20:53:04 +0000 (13:53 -0700)
commit681436792bbb56ee3fb04e1e61b47174557e2451
tree9b96fe5d0836fd6ea88f153d861b18d69d9bdb63
parent12cd8b562242db95e3a969ccdae90d9cde4c3a2a
i40e: Check and correct speed values for link on open

If our card has been put in an unstable state due to
other drivers interacting with it, speed settings
might be incorrect. If incorrect, forcefully reset them
on open to known default values.

Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c