]> asedeno.scripts.mit.edu Git - linux.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)
commite78d9a39fd06109022d11c8ca444cfcec2abb290
tree9b96fe5d0836fd6ea88f153d861b18d69d9bdb63
parentcdec2141c24ef177d929765c5a6f95549c266fb3
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