aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_switch.c
diff options
context:
space:
mode:
authorPaul Greenwalt <[email protected]>2022-08-24 20:28:40 +0000
committerTony Nguyen <[email protected]>2022-09-06 20:55:47 +0000
commit1bd50f2deb19c13834f9f6b2f3c3263e38a47e1a (patch)
treeda613a9832132cd7c020cefa52b556cac784edc4 /drivers/net/ethernet/intel/ice/ice_switch.c
parentice: Check if reset in progress while waiting for offsets (diff)
downloadkernel-1bd50f2deb19c13834f9f6b2f3c3263e38a47e1a.tar.gz
kernel-1bd50f2deb19c13834f9f6b2f3c3263e38a47e1a.zip
ice: add helper function to check FW API version
Several functions in ice_common.c check the firmware API version to see if the current API version meets some minimum requirement. Improve the readability of these checks by introducing ice_is_fw_api_min_ver, a helper function to perform that check. Signed-off-by: Paul Greenwalt <[email protected]> Signed-off-by: Jacob Keller <[email protected]> Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
0 files changed, 0 insertions, 0 deletions