]> 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)
commitf72e41e61d5b47be52ee4b7fdde3fc2d03c012c6
tree9b96fe5d0836fd6ea88f153d861b18d69d9bdb63
parentc0a687a4ba6cb3e38c3a62a2f4abff2413537ab7
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