[Intel-wired-lan] [PATCH net-next] ice: add helper function to check FW API version

G, GurucharanX gurucharanx.g at intel.com
Thu Aug 25 08:25:35 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jacob Keller
> Sent: Tuesday, August 23, 2022 8:35 PM
> To: Intel Wired LAN <intel-wired-lan at lists.osuosl.org>
> Subject: [Intel-wired-lan] [PATCH net-next] 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 at intel.com>
> Signed-off-by: Jacob Keller <jacob.e.keller at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_common.c | 63 +++++++++++----------
>  1 file changed, 32 insertions(+), 31 deletions(-)
> 

Tested-by: Gurucharan <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list