Skip to content

one by one port representors creation

Michal Swiatkowski intel-wired-lan netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15ice: rename switchdev to eswitchdrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_eswitch_br.c +1 more+43 -420 replies
2/15ice: remove redundant max_vsi_num variabledrivers/net/ethernet/intel/ice/ice_eswitch.c+0 -40 replies
3/15ice: remove unused control VSI parameterdrivers/net/ethernet/intel/ice/ice_eswitch.c+3 -40 replies
4/15ice: track q_id in representordrivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_repr.c drivers/net/ethernet/intel/ice/ice_repr.h+3 -11 reply
5/15ice: use repr instead of vf->reprdrivers/net/ethernet/intel/ice/ice_repr.c+7 -70 replies
6/15ice: track port representors in xarraydrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_main.c +2 more+94 -1011 reply
7/15ice: remove VF pointer reference in eswitch codedrivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_eswitch.h drivers/net/ethernet/intel/ice/ice_repr.c +1 more+25 -221 reply
8/15ice: make representor code genericdrivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_eswitch.h drivers/net/ethernet/intel/ice/ice_eswitch_br.c +5 more+131 -921 reply
9/15ice: return pointer to representordrivers/net/ethernet/intel/ice/ice_repr.c+10 -72 replies
10/15ice: allow changing SWITCHDEV_CTRL VSI queuesdrivers/net/ethernet/intel/ice/ice_lib.c+10 -31 reply
11/15ice: set Tx topology every time new repr is addeddrivers/net/ethernet/intel/ice/ice_devlink.c drivers/net/ethernet/intel/ice/ice_devlink.h drivers/net/ethernet/intel/ice/ice_eswitch.c +1 more+59 -71 reply
12/15ice: realloc VSI stats arraysdrivers/net/ethernet/intel/ice/ice_lib.c+39 -191 reply
13/15ice: add VF representors one by onedrivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_eswitch.h drivers/net/ethernet/intel/ice/ice_repr.c +2 more+228 -2421 reply
14/15ice: adjust switchdev rebuild pathdrivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_main.c drivers/net/ethernet/intel/ice/ice_vf_lib.c+28 -491 reply
15/15ice: reserve number of CP queuesdrivers/net/ethernet/intel/ice/ice.h drivers/net/ethernet/intel/ice/ice_eswitch.c drivers/net/ethernet/intel/ice/ice_eswitch.h +1 more+58 -71 reply

Reviews trailers per patch

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

PatchWojciech DrewekPiotr RaczynskiJacob KellerPrzemek KitszelSujai Buvaneswaran
1/15R-b R-b R-b
2/15R-b R-b R-b
3/15R-b R-b R-b
4/15R-b R-b R-b T-b
5/15R-b R-b R-b
6/15R-b R-b T-b
7/15R-b R-b R-b T-b
8/15R-b R-b T-b
9/15R-b R-b R-b T-b T-b
10/15R-b R-b R-b T-b
11/15R-b R-b R-b T-b
12/15R-b T-b
13/15R-b R-b T-b
14/15R-b T-b
15/15R-b T-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 5 reviewers.

Read the v1 thread

Cover letter [PATCH iwl-next v1 00/15] one by one port representors creation

Hi,

Currently ice supports creating port representors only for VFs. For that use case they can be created and removed in one step.

This patchset is refactoring current flow to support port representor creation also for subfunctions and SIOV. In this case port representors need to be createad and removed one by one. Also, they can be added and removed while other port representors are running.

To achieve that we need to change the switchdev configuration flow. Three first patches are only cosmetic (renaming, removing not used code). Next few ones are preparation for new flow. The most important one is "add VF representor one by one". It fully implements new flow.

New type of port representor (for subfunction) will be introduced in follow up patchset.

Michal Swiatkowski (15):
ice: rename switchdev to eswitch
ice: remove redundant max_vsi_num variable
ice: remove unused control VSI parameter
ice: track q_id in representor
ice: use repr instead of vf->repr
ice: track port representors in xarray
ice: remove VF pointer reference in eswitch code
ice: make representor code generic
ice: return pointer to representor
ice: allow changing SWITCHDEV_CTRL VSI queues
ice: set Tx topology every time new repr is added
ice: realloc VSI stats arrays
ice: add VF representors one by one
ice: adjust switchdev rebuild path
ice: reserve number of CP queues

 drivers/net/ethernet/intel/ice/ice.h          |  13 +-
 drivers/net/ethernet/intel/ice/ice_devlink.c  |  29 +
 drivers/net/ethernet/intel/ice/ice_devlink.h  |   1 +
 drivers/net/ethernet/intel/ice/ice_eswitch.c  | 562 ++++++++++--------
 drivers/net/ethernet/intel/ice/ice_eswitch.h  |  22 +-
 .../net/ethernet/intel/ice/ice_eswitch_br.c   |  22 +-
 drivers/net/ethernet/intel/ice/ice_lib.c      |  81 ++-
 drivers/net/ethernet/intel/ice/ice_main.c     |   6 +-
 drivers/net/ethernet/intel/ice/ice_repr.c     | 195 +++---
 drivers/net/ethernet/intel/ice/ice_repr.h     |   9 +-
 drivers/net/ethernet/intel/ice/ice_sriov.c    |  20 +-
 drivers/net/ethernet/intel/ice/ice_tc_lib.c   |   4 +-
 drivers/net/ethernet/intel/ice/ice_vf_lib.c   |   9 +-
 drivers/net/ethernet/intel/ice/ice_vf_lib.h   |   2 +-
 14 files changed, 553 insertions(+), 422 deletions(-)
Signature · 1 line
2.41.0