Re: [PATCH net v6 3/4] ice: resync uplink filters after a switchdev session
From: Petr Oros
Date: Wed Dec 02 2026 - 02:15:59 EST
On Tue, 01 Dec 2026 13:23:04 +0000, netdev-bot+sashiko@xxxxxxxxxx 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.