From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 706383FAE01 for ; Thu, 18 Jun 2026 15:09:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781795381; cv=none; b=IPTNXqSfmCfL1OeAXFl3C0SUUpcH+4Tpx1ef+LbUObSNlF/XyvGaH0WNoR2QWPtRh5lgqN+DgEyqAeSkmLYBKWOardMEgtw96tKar6HF5YSCTABu8cd9fraiL0nzrxlP4+XQlNk2Fsl1vvv4Z+jlLFjpf+P8Qr1gvlMEigGXXq8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781795381; c=relaxed/simple; bh=P4a5L+pxLj9M6no31bX83R77apuWeXqglYwceEj3k0Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CoGqBWF5IYW3i+kEeWX7Gxw/iBKMlWKnQVtqrTkSwTgiUrJDXV7nug+dXxBW5amE7pOvCcceTEgTYq7GfwcS3OM+H60JQM9SQECx+552VN2HIvN5minh47NzupVAJo2fqR8IBa4qHkMiOVGDQFn4WVXvFk18LCoRJNsBhO3mr94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=EQWRCh4d; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="EQWRCh4d" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1781795376; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=8kwvym+FwOGhsUuGGMnEIFmKIYJtNtuISVIci+MTjJ8=; b=EQWRCh4d3CBye96Bii595jj5d0l8kStsdBHl0PGpmctx/OEExyA8/Zwz14RHN9OTYR42OO CFJR9yGmikCJJoXZAEVpbbkCwegkHgiXIa5iUE1+wjrbwUDIB7x2SUBFgGtw1grEwqXf/R 7s0HDdIXSzwo8tNkvvlcz4RDnrqa2Og= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-127-m3J3Hl3jPxeOh9tBvIrBbQ-1; Thu, 18 Jun 2026 11:09:31 -0400 X-MC-Unique: m3J3Hl3jPxeOh9tBvIrBbQ-1 X-Mimecast-MFC-AGG-ID: m3J3Hl3jPxeOh9tBvIrBbQ_1781795360 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6A5011800595; Thu, 18 Jun 2026 15:09:19 +0000 (UTC) Received: from ShadowPeak.redhat.com (unknown [10.44.32.243]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B1ED91800664; Thu, 18 Jun 2026 15:09:14 +0000 (UTC) From: Petr Oros To: netdev@vger.kernel.org Cc: Petr Oros , Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Alice Michael , Jacob Keller , Ivan Vecera , Michal Swiatkowski , Grzegorz Nitka , intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH iwl-net 0/2] ice: fix DFLT Rx rule handling for promisc and switchdev Date: Thu, 18 Jun 2026 17:09:09 +0200 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 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. Lab tested on E810-C: functional, VLAN isolation, IFF_ALLMULTI regression, stress/flap and switchdev-toggle suites pass with no AQ errors, and the FLU pool stays under its ceiling with all four PFs loaded. 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 | 32 ++++++- drivers/net/ethernet/intel/ice/ice_main.c | 90 +++++++++++++++----- 2 files changed, 98 insertions(+), 24 deletions(-) -- 2.53.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95097CD98F8 for ; Thu, 18 Jun 2026 15:09:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 4651761314; Thu, 18 Jun 2026 15:09:46 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id p5PD7yrdMUwZ; Thu, 18 Jun 2026 15:09:45 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 5BFF36117E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1781795385; bh=8kwvym+FwOGhsUuGGMnEIFmKIYJtNtuISVIci+MTjJ8=; h=From:To:Date:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Cc:From; b=MZq0bBip2M1xQLk4ekkWzHG63Z0eUXueQ9H/n+ektq+cdnJvhQSJORcnxdWyyg5Cs Fp1tBrqJkxI959YMJlypq//exDzg5Ls1VT2cwKfOSrm43oQybSpv8m/Psady6+6800 J+qKB4B5adWhFVjuliHwKkXFSTY+OCEFOXg2V/E/ac7Z+PZuGJS7ZWhiMCSee8ZGk9 fGAEeCxOACzu00jvVGAUP2I2fePjEAQsqkFUgld0djWAgixxnl19EiBsVkE81RHRrW hg2lChIifWN7B2chOn5b8QhFww3ETWEGYBurT4sgYWdAmsVMgCcD1QzX/0DVEAeDiv 7pXZuf2Q2JvjA== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 5BFF36117E; Thu, 18 Jun 2026 15:09:45 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) by lists1.osuosl.org (Postfix) with ESMTP id 04ECA131 for ; Thu, 18 Jun 2026 15:09:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DF1ED41212 for ; Thu, 18 Jun 2026 15:09:43 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id jzj-i1UL3kX4 for ; Thu, 18 Jun 2026 15:09:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=poros@redhat.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 859BA4110D DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 859BA4110D Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 859BA4110D for ; Thu, 18 Jun 2026 15:09:42 +0000 (UTC) Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-127-m3J3Hl3jPxeOh9tBvIrBbQ-1; Thu, 18 Jun 2026 11:09:31 -0400 X-MC-Unique: m3J3Hl3jPxeOh9tBvIrBbQ-1 X-Mimecast-MFC-AGG-ID: m3J3Hl3jPxeOh9tBvIrBbQ_1781795360 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 6A5011800595; Thu, 18 Jun 2026 15:09:19 +0000 (UTC) Received: from ShadowPeak.redhat.com (unknown [10.44.32.243]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id B1ED91800664; Thu, 18 Jun 2026 15:09:14 +0000 (UTC) From: Petr Oros To: netdev@vger.kernel.org Date: Thu, 18 Jun 2026 17:09:09 +0200 Message-ID: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-MFC-PROC-ID: sIT8Ig70QjgTOHiI2iT5F12qkNiNlDmGYK7mmQ5mQgI_1781795360 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1781795380; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8kwvym+FwOGhsUuGGMnEIFmKIYJtNtuISVIci+MTjJ8=; b=a1u7o17hKIgqTxkl6nZqKRAUGsFXjkUAXk+2P5hTcPRt5oeav9kTQI4f0V5E2rtP4EeSeo IZYzamBy6acb7YLGyMdqx4UFHfuLvnSYnodeC9WVPXUaFQgt3y7QXAFVkPqEhmLY6XfmlQ 8cP8erZDnAwwJxa/6EMV3Ut4ddHyZl0= X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a1u7o17h Subject: [Intel-wired-lan] [PATCH iwl-net 0/2] ice: fix DFLT Rx rule handling for promisc and switchdev X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ivan Vecera , Alice Michael , Przemek Kitszel , Eric Dumazet , linux-kernel@vger.kernel.org, Andrew Lunn , Tony Nguyen , Michal Swiatkowski , Jacob Keller , Jakub Kicinski , Paolo Abeni , "David S. Miller" , intel-wired-lan@lists.osuosl.org Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" 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. Lab tested on E810-C: functional, VLAN isolation, IFF_ALLMULTI regression, stress/flap and switchdev-toggle suites pass with no AQ errors, and the FLU pool stays under its ceiling with all four PFs loaded. 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 | 32 ++++++- drivers/net/ethernet/intel/ice/ice_main.c | 90 +++++++++++++++----- 2 files changed, 98 insertions(+), 24 deletions(-) -- 2.53.0