i40e: Add a check to see if MFS is set
authorTodd Fujinaka <todd.fujinaka@intel.com>
Fri, 29 May 2020 05:27:12 +0000 (22:27 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jun 2020 05:25:13 +0000 (22:25 -0700)
commit3a2c6ced90e18326ec64b9c4b5f68a2a127004c0
treeeac4d649883b7d6c0ade20c43eb155b27d6bbf61
parentfffeeddfcf57ebf652e80d27b416de7cb74e3507
i40e: Add a check to see if MFS is set

A customer was chain-booting to provision his systems and one of the
steps was setting MFS. MFS isn't cleared by normal warm reboots
(clearing requires a GLOBR) and there was no indication of why Jumbo
Frame receives were failing.

Add a warning if MFS is set to anything lower than the default.

Signed-off-by: Todd Fujinaka <todd.fujinaka@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