Netdev List
 help / color / mirror / Atom feed
* [PATCH iwl-net v4 0/2] ice: fix DFLT Rx rule handling for promisc and switchdev
@ 2026-07-08 12:57 Petr Oros
  2026-07-08 12:57 ` [PATCH iwl-net v4 1/2] ice: skip per-VLAN promisc rules when default VSI Rx rule is set Petr Oros
  2026-07-08 12:57 ` [PATCH iwl-net v4 2/2] ice: preserve uplink DFLT Rx rule on switchdev release Petr Oros
  0 siblings, 2 replies; 4+ messages in thread
From: Petr Oros @ 2026-07-08 12:57 UTC (permalink / raw)
  To: netdev
  Cc: Petr Oros, Tony Nguyen, Przemek Kitszel, Andrew Lunn,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Alice Michael, Jacob Keller, Ivan Vecera, Simon Horman,
	Martyna Szapar-Mudlaw, Marcin Szycik, intel-wired-lan,
	linux-kernel

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/20260701133601.2118382-1-poros@redhat.com/

Link to v2:
https://lore.kernel.org/all/20260622113428.2565255-1-poros@redhat.com/

Link to v1:
https://lore.kernel.org/all/cover.1781786935.git.poros@redhat.com/

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


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

end of thread, other threads:[~2026-07-09  8:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-08 12:57 [PATCH iwl-net v4 0/2] ice: fix DFLT Rx rule handling for promisc and switchdev Petr Oros
2026-07-08 12:57 ` [PATCH iwl-net v4 1/2] ice: skip per-VLAN promisc rules when default VSI Rx rule is set Petr Oros
2026-07-09  8:56   ` [Intel-wired-lan] " Marcin Szycik
2026-07-08 12:57 ` [PATCH iwl-net v4 2/2] ice: preserve uplink DFLT Rx rule on switchdev release Petr Oros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox