From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796195753; b=rFdb052olba/AH7u4jj18qABs4JrE5mfKEOohhgUPOUkKHjbCynJjvca9uXomoGWElG3 LRqai42GN6MfyogCarfseAs6woiPY9RUUHNWfiT3O3y1cxk8U5FBJkFGo3EswnP/ILbSq +sVhAX7SCS+yGh8mZa4TO6lK8KvklyaYsvwOLTNtPgDR5qaEdb6oPnPuMim4AveZfCQCn Z33TtrpyJz6KRCRsoG+KMCbGBQRnJSv3Oe3IaEHOvYu9VIS2+LrTPR93gXT5kYGATKB+e uBK3I2Pwb0BjkZhmP5ihlULWNhqnyqlJUBRtY6MrdVxkBrc4895I969LXYqY9zhDx6A== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796195753; h=DMARC-Filter:DKIM-Signature:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:From:To:Cc:Subject:Date: Message-ID:In-Reply-To:References:MIME-Version:Content-Type: Content-Transfer-Encoding:X-Scanned-By; bh=l2gR8ZQu55giXFamKToHvtkk2nuPVOYIp/hW+uxhKJQ=; b=IbIG/x0cmExiz4mQYDnczb1M+yOmIpX7BlJPgmiO09Vm9gZM7NmyR+a5CvmO1BvUPXIa B6oylGofY4Yhe6VDXyugggHco4tzxKguQC50ATASs9MTrm5VzXe1gQNGkn6LBrpxMAtP/ AyIt/5QtAyqkiUuRqszBbYrPe65tg/vCJ3mo6HJquQpCvoQZuLehExSEA80zCNWH+s6qh NBbfsu3iUeWkaNEp9fkvHum4lhqTr7aD3bsbCSSb5/k7Po3wm4t4GcCTohS1HnOC7i0hV 4r2aZA0OZDFzF3Zse/6gZlGGZniXtPu+U6SyaBuIu2lpkNX5FdchPgY3i9hgvMG9sqQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b="B6L/4fh+"; arc=none smtp.remote-ip=170.10.133.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BEBAD606A31A for ; Wed, 2 Dec 2026 07:15:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BEBAD606A31A 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.a=rsa-sha256 header.s=mimecast20190719 header.b=B6L/4fh+ DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796195752; 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: in-reply-to:in-reply-to:references:references; bh=l2gR8ZQu55giXFamKToHvtkk2nuPVOYIp/hW+uxhKJQ=; b=B6L/4fh+lKRvNAhbiZepy3BDx+h4LGQ6CFg73YKCnr5eZb0NbaBwc7C56qyHXnfvcebxSm i175i3XihD4LXxyL/8Q3l90Rtbc8L+ldUdhp8DxmUmgbUhOX22WHqcd4W8yLEd2ENs/C3D mmiB+ENB+LMOEgzHYD1cwVsoXz9Sjnc= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-622-MxfqR2V6N6uAej8ExkgnIQ-1; Wed, 2 Dec 2026 07:15:47 +0000 X-MC-Unique: MxfqR2V6N6uAej8ExkgnIQ-1 X-Mimecast-MFC-AGG-ID: MxfqR2V6N6uAej8ExkgnIQ_1796195742 Received: from mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.95]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 2FD30191AABD; Wed, 2 Dec 2026 07:15:30 +0000 (UTC) Received: from poros-thinkpadp16vgen1.tpbc.com (headnet04.pony-001.prod.iad2.dc.redhat.com [10.2.32.116]) by mx-prod-int-10.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 599627DA; Wed, 2 Dec 2026 07:15:23 +0000 (UTC) From: Petr Oros To: netdev-bot+sashiko@kernel.org Cc: Petr Oros , Tony Nguyen , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Przemek Kitszel , Andrew Lunn , Aleksandr Loktionov , Simon Horman , Michal Swiatkowski , Grzegorz Nitka , Paul Menzel , Wojciech Drewek , Marcin Szycik , Martyna Szapar-Mudlaw , Ivan Vecera , Alice Michael , Jacob Keller , Jesse Brandeburg , Patryk Holda , Rinitha S , Aaron Ma , netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v6 3/4] ice: resync uplink filters after a switchdev session Date: Wed, 2 Dec 2026 08:15:09 +0100 Message-ID: <20261202071511.2527220-2-poros@redhat.com> In-Reply-To: <179613138433.3146.6653712043000778587@kernel.org> References: <20261130132107.1177185-4-poros@redhat.com> <179613138433.3146.6653712043000778587@kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.6 on 10.30.177.95 On Tue, 01 Dec 2026 13:23:04 +0000, netdev-bot+sashiko@kernel.org wrote: > - [Medium] The patch adds two new open-coded locks that poll a bit flag: > `while (test_and_set_bit(ICE_CFG_BUSY, uplink_vsi->state))… Right, the bit is what ice_vsi_sync_fltr() and the VLAN ndos already use to exclude each other, a mutex for all of its users is a cleanup for net-next. v7 makes the release symmetric, ice_vsi_sync_fltr() uses clear_bit_unlock() now, like the new sections, so the stores it makes in its section are ordered before the next one takes the bit. The current_netdev_flags write that the review quotes is gone in patch 4, as the review itself notes. > - [Low] The patch adds a lockless store-buffering protocol on > pf->eswitch.is_running. Right, v7 uses READ_ONCE() and WRITE_ONCE() for the is_running accesses.