ice: avoid setting features during reset
authorHenry Tieman <henry.w.tieman@intel.com>
Wed, 6 Nov 2019 10:05:30 +0000 (02:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Nov 2019 20:02:43 +0000 (12:02 -0800)
commit5f8cc355c4134767aa586920458cc21e01295715
tree8c2a8734e1ce632ae29097de7a8ad63436c83837
parentb94b013eb6269526eeb3768101666ba6f526313e
ice: avoid setting features during reset

Certain subsystems behave very badly when called during reset (core
dump). This patch returns -EBUSY when reconfiguring some subsystems
during reset. With this patch some ethtool functions will not core
dump during reset.

Signed-off-by: Henry Tieman <henry.w.tieman@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_main.c