Two fixes for the uplink default VSI Rx rule (DFLT) on E810 when the netdev is in IFF_PROMISC.
Patch 1 drops the redundant per-VLAN promisc expansion that exhausts the FLU pool on a wide VLAN trunk across several PFs. Patch 2 keeps the DFLT Rx rule across a switchdev teardown instead of clobbering the promisc state the operator asked for. Changes since v3 (review comments from Marcin Szycik): - Patch 1: reworded the ice_clear_promisc() and the per-VID cleanup comments, and flipped the ice_vsi_clear_vlan_mc_promisc() guard to an early return (noting the clear is best-effort). No functional change. - Patch 2: no change, added Marcin's and Aleksandr's Reviewed-by. Link to v3: https://lore.kernel.org/all/[email protected]/ Link to v2: https://lore.kernel.org/all/[email protected]/ Link to v1: https://lore.kernel.org/all/[email protected]/ Petr Oros (2): ice: skip per-VLAN promisc rules when default VSI Rx rule is set ice: preserve uplink DFLT Rx rule on switchdev release drivers/net/ethernet/intel/ice/ice_eswitch.c | 18 ++- drivers/net/ethernet/intel/ice/ice_main.c | 109 +++++++++++++++---- 2 files changed, 102 insertions(+), 25 deletions(-) -- 2.54.0
