aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_fw_update.c
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2020-09-25 20:46:08 +0000
committerDavid S. Miller <[email protected]>2020-09-26 00:20:57 +0000
commitcbb58368fbccc823a85df73bd6bf7db6dfda86aa (patch)
tree758ec9ffe2d0186061f89ff084403815fa68b11c /drivers/net/ethernet/intel/ice/ice_fw_update.c
parentdevlink: introduce flash update overwrite mask (diff)
downloadkernel-cbb58368fbccc823a85df73bd6bf7db6dfda86aa.tar.gz
kernel-cbb58368fbccc823a85df73bd6bf7db6dfda86aa.zip
netdevsim: add support for flash_update overwrite mask
The devlink interface recently gained support for a new "overwrite mask" parameter that allows specifying how various sub-sections of a flash component are modified when updating. Add support for this to netdevsim, to enable easily testing the interface. Make the allowed overwrite mask values controllable via a debugfs parameter. This enables testing a flow where the driver rejects an unsupportable overwrite mask. Signed-off-by: Jacob Keller <[email protected]> Reviewed-by: Jakub Kicinski <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_fw_update.c')
0 files changed, 0 insertions, 0 deletions