Skip to content

i40e: Simplify VSI and VEB handling

Ivan Vecera intel-wired-lan lkml netdev oe-kbuild oe-kbuild-all 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest5 patches 12 repliesIn review
  2. v45 patches 1 replySuperseded
  3. v35 patches 5 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches1 replySuperseded
v15 patches10 repliesSuperseded

Changelog from the cover letter

v1->v2 - small correction in patch 4 description
- changed helper names in patch 3
v2->v3 - correct patch files (v2 was broken) v3->v4 - added kdoc stuff
- fixed wrong check in i40e_ndo_bridge_getlink()
v4->v5 - fixed VSI/VEB interation macros

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5i40e: Use existing helper to find flow director VSIdrivers/net/ethernet/intel/i40e/i40e_main.c+4 -72 replies
2/5i40e: Introduce and use macros for iterating VSIs and VEBsdrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c drivers/net/ethernet/intel/i40e/i40e_debugfs.c +1 more+264 -2452 replies
3/5i40e: Add helpers to find VSI and VEB by SEID and use themdrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_debugfs.c drivers/net/ethernet/intel/i40e/i40e_main.c+68 -862 replies
4/5i40e: Fix broken support for floating VEBsdrivers/net/ethernet/intel/i40e/i40e_debugfs.c drivers/net/ethernet/intel/i40e/i40e_main.c+67 -494 replies
5/5i40e: Remove VEB recursiondrivers/net/ethernet/intel/i40e/i40e.h drivers/net/ethernet/intel/i40e/i40e_debugfs.c drivers/net/ethernet/intel/i40e/i40e_main.c+76 -1092 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchWojciech DrewekPucha Himasekhar ReddySimon Horman
1/5R-b T-b R-b
2/5R-b T-b R-b
3/5R-b T-b R-b
4/5R-b T-b R-b
5/5R-b T-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH iwl-next v5 0/5] i40e: Simplify VSI and VEB handling

The series simplifies handling of VSIs and VEBs by introducing for-each iterating macros, 'find' helper functions. Also removes the VEB recursion because the VEBs cannot have sub-VEBs according datasheet and fixes the support for floating VEBs.

The series content:
Patch 1 - Uses existing helper function for find FDIR VSI instead of loop Patch 2 - Adds and uses macros to iterate VSI and VEB arrays Patch 3 - Adds 2 helper functions to find VSIs and VEBs by their SEID Patch 4 - Fixes broken support for floating VEBs
Patch 5 - Removes VEB recursion and simplifies VEB handling

Changelog:
v1->v2 - small correction in patch 4 description
- changed helper names in patch 3
v2->v3 - correct patch files (v2 was broken) v3->v4 - added kdoc stuff
- fixed wrong check in i40e_ndo_bridge_getlink()
v4->v5 - fixed VSI/VEB interation macros

Ivan Vecera (5):
i40e: Use existing helper to find flow director VSI
i40e: Introduce and use macros for iterating VSIs and VEBs
i40e: Add helpers to find VSI and VEB by SEID and use them
i40e: Fix broken support for floating VEBs
i40e: Remove VEB recursion

 drivers/net/ethernet/intel/i40e/i40e.h        |  93 ++-
 drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c |  10 +-
 .../net/ethernet/intel/i40e/i40e_debugfs.c    |  97 ++-
 drivers/net/ethernet/intel/i40e/i40e_main.c   | 563 ++++++++----------
 4 files changed, 373 insertions(+), 390 deletions(-)
Signature · 1 line
2.41.0