[Intel-wired-lan] [PATCH iwl-next v8 13/15] ixgbe: add FW API version check
R, Bharath
bharath.r at intel.com
Wed Mar 19 15:25:50 UTC 2025
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Jedrzej Jagielski
> Sent: Thursday, March 13, 2025 8:34 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Nguyen, Anthony L <anthony.l.nguyen at intel.com>;
> netdev at vger.kernel.org; Kitszel, Przemyslaw <przemyslaw.kitszel at intel.com>;
> horms at kernel.org; Jagielski, Jedrzej <jedrzej.jagielski at intel.com>;
> Polchlopek, Mateusz <mateusz.polchlopek at intel.com>; Kwapulinski, Piotr
> <piotr.kwapulinski at intel.com>
> 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 <mateusz.polchlopek at intel.com>
> Co-developed-by: Piotr Kwapulinski <piotr.kwapulinski at intel.com>
> Signed-off-by: Piotr Kwapulinski <piotr.kwapulinski at intel.com>
> Signed-off-by: Jedrzej Jagielski <jedrzej.jagielski at intel.com>
> ---
> 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 <bharath.r at intel.com>
More information about the Intel-wired-lan
mailing list