netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/7][pull request] ice: implement SRIOV VF Active-Active LAG
@ 2025-08-14 23:08 Tony Nguyen
  2025-08-14 23:08 ` [PATCH net-next 1/7] ice: Remove casts on void pointers in LAG code Tony Nguyen
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Tony Nguyen @ 2025-08-14 23:08 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet, andrew+netdev, netdev
  Cc: Tony Nguyen, david.m.ertman

Dave Ertman says:

Implement support for SRIOV VFs over an Active-Active link aggregate.
The same restrictions apply as are in place for the support of
Active-Backup bonds.

- the two interfaces must be on the same NIC
- the FW LLDP engine needs to be disabled
- the DDP package that supports VF LAG must be loaded on device
- the two interfaces must have the same QoS config
- only the first interface added to the bond will have VF support
- the interface with VFs must be in switchdev mode

With the additional requirement of
- the version of the FW on the NIC needs to have VF Active/Active support

The balancing of traffic between the two interfaces is done on a queue
basis. Taking the queues allocated to all of the VFs as a whole, one
half of them will be distributed to each interface. When a link goes
down, then the queues allocated to the down interface will migrate to
the active port. When the down port comes back up, then the same
queues as were originally assigned there will be moved back.

Patch 1 cleans up void pointer casts
Patch 2 utilizes bool over u8 when appropriate
Patch 3 adds a driver prefix to a LAG define
Patch 4 pre-move a function to reduce delta in implementation patch
Patch 5 cleanup variable initialization in declaration block
Patch 6 cleanup capability parsing for LAG feature
Patch 7 is the implementation of the new functionality
---
IWL: https://lore.kernel.org/intel-wired-lan/20250616110323.788970-1-david.m.ertman@intel.com/

The following are changes since commit 875c541ea680d0df2de3e666d8125bee08c1bc1b:
  Merge branch 'net-ethtool-support-including-flow-label-in-the-flow-hash-for-rss'
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE

Dave Ertman (7):
  ice: Remove casts on void pointers in LAG code
  ice: replace u8 elements with bool where appropriate
  ice: Add driver specific prefix to LAG defines
  ice: move LAG function in code to prepare for Active-Active
  ice: Cleanup variable initialization in LAG code
  ice: cleanup capabilities evaluation
  ice: Implement support for SRIOV VFs across Active/Active bonds

 drivers/net/ethernet/intel/ice/ice.h          |   1 +
 .../net/ethernet/intel/ice/ice_adminq_cmd.h   |   4 +
 drivers/net/ethernet/intel/ice/ice_common.c   |  19 +-
 drivers/net/ethernet/intel/ice/ice_common.h   |   2 +-
 drivers/net/ethernet/intel/ice/ice_lag.c      | 975 ++++++++++++++----
 drivers/net/ethernet/intel/ice/ice_lag.h      |  21 +-
 drivers/net/ethernet/intel/ice/ice_type.h     |   6 +-
 include/linux/net/intel/libie/adminq.h        |   5 +-
 8 files changed, 807 insertions(+), 226 deletions(-)

-- 
2.47.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-08-16  1:50 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-14 23:08 [PATCH net-next 0/7][pull request] ice: implement SRIOV VF Active-Active LAG Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 1/7] ice: Remove casts on void pointers in LAG code Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 2/7] ice: replace u8 elements with bool where appropriate Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 3/7] ice: Add driver specific prefix to LAG defines Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 4/7] ice: move LAG function in code to prepare for Active-Active Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 5/7] ice: Cleanup variable initialization in LAG code Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 6/7] ice: cleanup capabilities evaluation Tony Nguyen
2025-08-14 23:08 ` [PATCH net-next 7/7] ice: Implement support for SRIOV VFs across Active/Active bonds Tony Nguyen
2025-08-16  1:50 ` [PATCH net-next 0/7][pull request] ice: implement SRIOV VF Active-Active LAG patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).