diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2020-11-11 10:59:15 -0800 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-02-05 09:34:24 -0800 |
commit | 08e1294daa2986939b7585404fe0f432695c6613 (patch) | |
tree | 338134b99a7d3bb7506e71e571ed17e0d6f13799 /drivers/net/ethernet/intel/ice/ice_devlink.c | |
parent | 4d469ec8ec05e1fa4792415de1a95b28871ff2fa (diff) | |
download | linux-08e1294daa2986939b7585404fe0f432695c6613.tar.gz linux-08e1294daa2986939b7585404fe0f432695c6613.tar.bz2 linux-08e1294daa2986939b7585404fe0f432695c6613.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_devlink.c')
0 files changed, 0 insertions, 0 deletions