Skip to content

i40e: Add and use version check helpers

Ivan Vecera intel-wired-lan lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v13 patches 7 repliesSuperseded

Changes from the cover letter

v2 - Fixed indentation

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3i40e: Move i40e_is_aq_api_ver_ge helperdrivers/net/ethernet/intel/i40e/i40e_common.c drivers/net/ethernet/intel/i40e/i40e_type.h+18 -192 replies
2/3i40e: Add other helpers to check version of running firmware and AQ APIdrivers/net/ethernet/intel/i40e/i40e_type.h+54 -00 replies
3/3i40e: Use helpers to check running FW and AQ API versionsdrivers/net/ethernet/intel/i40e/i40e_adminq.c drivers/net/ethernet/intel/i40e/i40e_common.c drivers/net/ethernet/intel/i40e/i40e_dcb.c +1 more+36 -581 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchWojciech DrewekPucha Himasekhar Reddy
1/3R-b T-b
2/3
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH iwl-next v2 0/3] i40e: Add and use version check helpers

The series moves an existing check for AQ API version to header file, adds another ones for firmware version check and use them to refactor existing open-coded version checks.

Series content:
Patch 1: Moves i40e_is_aq_api_ver_ge() helper to header file Patch 2: Adds another helpers to check running FW version Patch 3: Re-factors existing open-coded checks to use the new helpers

Changes:
v2 - Fixed indentation

Ivan Vecera (3):
i40e: Move i40e_is_aq_api_ver_ge helper
i40e: Add other helpers to check version of running firmware and AQ API
i40e: Use helpers to check running FW and AQ API versions

 drivers/net/ethernet/intel/i40e/i40e_adminq.c | 56 ++++++---------
 drivers/net/ethernet/intel/i40e/i40e_common.c | 48 +++++--------
 drivers/net/ethernet/intel/i40e/i40e_dcb.c    |  7 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c   |  6 +-
 drivers/net/ethernet/intel/i40e/i40e_type.h   | 68 +++++++++++++++++++
 5 files changed, 108 insertions(+), 77 deletions(-)
Signature · 1 line
2.41.0