]> git.baikalelectronics.ru Git - kernel.git/commit
ice: report timeout length for erasing during devlink flash
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 11 Nov 2020 18:59:15 +0000 (10:59 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Fri, 5 Feb 2021 17:34:24 +0000 (09:34 -0800)
commit82b6455ea87fe173b473d4b443d1e669d897bdcb
tree338134b99a7d3bb7506e71e571ed17e0d6f13799
parent5d3d1b003f89f21526ba7d1e1fb17d8138aa3a07
ice: report timeout length for erasing during devlink flash

When erasing, notify userspace of how long we will potentially take to
erase a module. Doing so allows userspace to report the timeout, giving
a clear indication of the upper time bound of the operation.

Since we're re-using the erase timeout value, make it a macro rather
than a magic number.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Shannon Nelson <snelson@pensando.io>
Tested-by: Tony Brelinski <tonyx.brelinski@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_fw_update.c