bianbu-linux-6.6/drivers/net/ethernet/intel
Dave Ertman cceeddd5ca ice: Fix SRIOV LAG disable on non-compliant aggregate
[ Upstream commit 3e39da4fa16c9c09207d98b8a86a6f6436b531c9 ]

If an attribute of an aggregate interface disqualifies it from supporting
SRIOV, the driver will unwind the SRIOV support.  Currently the driver is
clearing the feature bit for all interfaces in the aggregate, but this is
not allowing the other interfaces to unwind successfully on driver unload.

Only clear the feature bit for the interface that is currently unwinding.

Fixes: bf65da2eb2 ("ice: enforce interface eligibility and add messaging for SRIOV LAG")
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:59:35 +01:00
..
e1000 net: e1000: Remove unused declarations 2023-08-13 12:28:03 +01:00
e1000e e1000e: Add support for the next LOM generation 2023-08-24 12:55:25 -07:00
fm10k fm10k: Remove unnecessary aer.h include 2023-03-08 23:34:39 -08:00
i40e i40e: fix potential memory leaks in i40e_remove() 2023-11-20 11:58:55 +01:00
iavf iavf: Fix promiscuous mode configuration flow messages 2023-11-20 11:58:55 +01:00
ice ice: Fix SRIOV LAG disable on non-compliant aggregate 2023-11-20 11:59:35 +01:00
igb igb: Fix potential memory leak in igb_add_ethtool_nfc_entry 2023-10-20 13:29:40 +01:00
igbvf igbvf: Change IGBVF_MIN to allow set rx/tx value between 64 and 80 2023-09-05 10:52:08 -07:00
igc igc: Fix ambiguity in the ethtool advertising 2023-10-20 18:15:38 -07:00
ixgbe ixgbe: fix crash with empty VF macvlan list 2023-10-10 11:31:50 +02:00
ixgbevf ixgbevf: Remove unused function declarations 2023-08-04 18:03:00 -07:00
e100.c e100: Fix possible use after free in e100_xmit_prepare 2022-11-23 08:38:22 -08:00
Kconfig ixgb: Remove ixgb driver 2023-03-19 10:51:07 +00:00
Makefile ixgb: Remove ixgb driver 2023-03-19 10:51:07 +00:00