diff options
| author | Paul Greenwalt <paul.greenwalt@intel.com> | 2022-08-24 13:28:40 -0700 |
|---|---|---|
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2022-09-06 13:55:47 -0700 |
| commit | 1bd50f2deb19c13834f9f6b2f3c3263e38a47e1a (patch) | |
| tree | da613a9832132cd7c020cefa52b556cac784edc4 /drivers/net/ethernet/intel/ice/ice_switch.c | |
| parent | ice: Check if reset in progress while waiting for offsets (diff) | |
| download | linux-1bd50f2deb19c13834f9f6b2f3c3263e38a47e1a.tar.gz linux-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 <paul.greenwalt@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_switch.c')
0 files changed, 0 insertions, 0 deletions
