Merge branch '100GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/nex
authorDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2023 10:03:57 +0000 (11:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jul 2023 10:03:57 +0000 (11:03 +0100)
commitf5fbd3246c068d4c67e4259f39c1bd2f27110d7a
treea5a56f03a3a93787e2bc1dd2a7abe6a5f3440e21
parent7f6c40391a048c5d0f593f285bee45f7f98a3ca4
parent3579aa86fb4046a378f7d68583cfb7f62e0feabd
Merge branch '100GbE' of git://git./linux/kernel/git/tnguy/nex
t-queue

Tony Nguyen says:

====================
ice: Implement support for SRIOV + LAG

Dave Ertman says:

Implement support for SRIOV VF's on interfaces that are in an
aggregate interface.

The first interface added into the aggregate will be flagged as
the primary interface, and this primary interface will be
responsible for managing the VF's resources.  VF's created on the
primary are the only VFs that will be supported on the aggregate.
Only Active-Backup mode will be supported and only aggregates whose
primary interface is in switchdev mode will be supported.

The ice-lag DDP must be loaded to support this feature.

Additional restrictions on what interfaces can be added to the aggregate
and still support SRIOV VFs are:
- interfaces have to all be on the same physical NIC
- all interfaces have to have the same QoS settings
- interfaces have to have the FW LLDP agent disabled
- only the primary interface is to be put into switchdev mode
- no more than two interfaces in the aggregate
---
v2:
- Move NULL check for q_ctx in ice_lag_qbuf_recfg() earlier (patch 6)

v1: https://lore.kernel.org/netdev/20230726182141.3797928-1-anthony.l.nguyen@intel.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>