]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Fix kernel hang with DCB reset in CEE mode
authorUsha Ketineni <usha.k.ketineni@intel.com>
Thu, 25 Jul 2019 08:55:33 +0000 (01:55 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 20 Aug 2019 21:29:22 +0000 (14:29 -0700)
commit2cc16a0896445acb0b9ea75b9e2cecce403b3647
tree469803a551946ed47b2f309f5382783f0da2e252
parent0b9907d3266bf021907c7f4bffc9ccbfb7cb0d82
ice: Fix kernel hang with DCB reset in CEE mode

This patch fixes the set local MIB AQ call failures in the DCB rebuild path
by setting the defaults for the ETS recommended DCB configuration. Also,
willing bits for the DCB configuration needs to be set correctly. Resets
works fine in IEEE mode as the ETS recommended DCB configuration is
populated but not in CEE mode.
Without this patch, PFR causes the kernel hang in CEE mode.

Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_dcb_lib.c