]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Set fec_config when forcing link state
authorMariusz Stachura <mariusz.stachura@intel.com>
Tue, 31 Jul 2018 10:41:40 +0000 (03:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 7 Aug 2018 15:19:08 +0000 (08:19 -0700)
commit8806cce54b0568de0410dc2a2e7e5d38311c8d2d
tree464d3db78c2c2ad0960440500d13aac084e39219
parent066c276c7cf8db74d2cc855f40c89ef94076e636
i40e: Set fec_config when forcing link state

This patch configures FEC setting in i40e_force_link_state().
For some reason setting this field was overlooked thus causing
25G link to be configured incorrectly.

Signed-off-by: Mariusz Stachura <mariusz.stachura@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