mbox series

[net-next,0/4,pull,request] ice: prepare representor for SF support

Message ID 20240621160820.3394806-1-anthony.l.nguyen@intel.com (mailing list archive)
Headers show
Series ice: prepare representor for SF support | expand

Message

Tony Nguyen June 21, 2024, 4:08 p.m. UTC
Michal Swiatkowski says:

This is a series to prepare port representor for supporting also
subfunctions. We need correct devlink locking and the possibility to
update parent VSI after port representor is created.

Refactor how devlink lock is taken to suite the subfunction use case.

VSI configuration needs to be done after port representor is created.
Port representor needs only allocated VSI. It doesn't need to be
configured before.

VSI needs to be reconfigured when update function is called.

The code for this patchset was split from (too big) patchset [1].

[1] https://lore.kernel.org/netdev/20240213072724.77275-1-michal.swiatkowski@linux.intel.com/
---
Originally from https://lore.kernel.org/netdev/20240605-next-2024-06-03-intel-next-batch-v2-0-39c23963fa78@intel.com/
Changes:
- delete ice_repr_get_by_vsi() from header
- rephrase commit message in moving devlink locking

The following are changes since commit 3226607302ca5a74dee6f1c817580c713ef9d0dd:
  selftests: net: change shebang to bash in amt.sh
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE

Michal Swiatkowski (4):
  ice: store representor ID in bridge port
  ice: move devlink locking outside the port creation
  ice: move VSI configuration outside repr setup
  ice: update representor when VSI is ready

 .../net/ethernet/intel/ice/devlink/devlink.c  |  2 -
 .../ethernet/intel/ice/devlink/devlink_port.c |  4 +-
 drivers/net/ethernet/intel/ice/ice_eswitch.c  | 85 +++++++++++++------
 drivers/net/ethernet/intel/ice/ice_eswitch.h  | 14 ++-
 .../net/ethernet/intel/ice/ice_eswitch_br.c   |  4 +-
 .../net/ethernet/intel/ice/ice_eswitch_br.h   |  1 +
 drivers/net/ethernet/intel/ice/ice_repr.c     | 16 ++--
 drivers/net/ethernet/intel/ice/ice_repr.h     |  3 +-
 drivers/net/ethernet/intel/ice/ice_vf_lib.c   |  2 +-
 9 files changed, 90 insertions(+), 41 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org June 23, 2024, noon UTC | #1
Hello:

This series was applied to netdev/net-next.git (main)
by Tony Nguyen <anthony.l.nguyen@intel.com>:

On Fri, 21 Jun 2024 09:08:13 -0700 you wrote:
> Michal Swiatkowski says:
> 
> This is a series to prepare port representor for supporting also
> subfunctions. We need correct devlink locking and the possibility to
> update parent VSI after port representor is created.
> 
> Refactor how devlink lock is taken to suite the subfunction use case.
> 
> [...]

Here is the summary with links:
  - [net-next,1/4] ice: store representor ID in bridge port
    https://git.kernel.org/netdev/net-next/c/639ac8ce8b65
  - [net-next,2/4] ice: move devlink locking outside the port creation
    https://git.kernel.org/netdev/net-next/c/8d2f518c0c9d
  - [net-next,3/4] ice: move VSI configuration outside repr setup
    https://git.kernel.org/netdev/net-next/c/4d364df2b5ed
  - [net-next,4/4] ice: update representor when VSI is ready
    https://git.kernel.org/netdev/net-next/c/fff5cca345a6

You are awesome, thank you!