> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Jedrzej Jagielski > Sent: Thursday, March 13, 2025 8:34 PM > To: [email protected] > Cc: Nguyen, Anthony L <[email protected]>; > [email protected]; Kitszel, Przemyslaw <[email protected]>; > [email protected]; Jagielski, Jedrzej <[email protected]>; > Polchlopek, Mateusz <[email protected]>; Kwapulinski, Piotr > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next v8 13/15] ixgbe: add FW API version > check > > Add E610 specific function checking whether the FW API version is compatible > with the driver expectations. > > The major API version should be less than or equal to the expected API > version. If not the driver won't be fully operational. > > Check the minor version, and if it is more than two versions lesser or greater > than the expected version, print a message indicating that the NVM or driver > should be updated respectively. > > Reviewed-by: Mateusz Polchlopek <[email protected]> > Co-developed-by: Piotr Kwapulinski <[email protected]> > Signed-off-by: Piotr Kwapulinski <[email protected]> > Signed-off-by: Jedrzej Jagielski <[email protected]> > --- > v5: add get_fw_ver > --- > .../ethernet/intel/ixgbe/devlink/devlink.c | 2 ++ > drivers/net/ethernet/intel/ixgbe/ixgbe.h | 1 + > drivers/net/ethernet/intel/ixgbe/ixgbe_e610.c | 1 + > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 34 +++++++++++++++++++ > drivers/net/ethernet/intel/ixgbe/ixgbe_type.h | 1 + > .../ethernet/intel/ixgbe/ixgbe_type_e610.h | 4 +++ > 6 files changed, 43 insertions(+) >
Tested-by: Bharath R <[email protected]>
