]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ice: Avoid detrimental cleanup for bond during interface stop
authorDave Ertman <david.m.ertman@intel.com>
Thu, 20 Nov 2025 17:58:26 +0000 (09:58 -0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 13 Jan 2026 19:18:34 +0000 (11:18 -0800)
commita9d45c22ed120cdd15ff56d0a6e4700c46451901
treee587d818bb761464cb7679d2b35ef235a3800adc
parent8439016c3b8b5ab687c2420317b1691585106611
ice: Avoid detrimental cleanup for bond during interface stop

When the user issues an administrative down to an interface that is the
primary for an aggregate bond, the prune lists are being purged. This
breaks communication to the secondary interface, which shares a prune
list on the main switch block while bonded together.

For the primary interface of an aggregate, avoid deleting these prune
lists during stop, and since they are hardcoded to specific values for
the default vlan and QinQ vlans, the attempt to re-add them during the
up phase will quietly fail without any additional problem.

Fixes: 1e0f9881ef79 ("ice: Flesh out implementation of support for SRIOV on bonded interface")
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Marcin Szycik <marcin.szycik@linux.intel.com>
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Rinitha S <sx.rinitha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c