Re: [PATCH net-next] net/mlx5e: Rename state_destroy to rx_mode_active in flow steering
From: Joe Damato
Date: Mon Oct 12 2026 - 14:40:23 EST
On Sun, Oct 11, 2026 at 12:31:00PM +0300, Tariq Toukan wrote:
> From: Alexei Lazar <alazar@xxxxxxxxxx>
>
> This flag controls the enablement of RX mode handling (promisc,
> allmulti, broadcast, netdev addr sync). It acts as a safeguard
> that prevents new FS (flow steering) operations during device
> teardown. When the device is in destroying state it is set to
> false to indicate RX mode operations are not allowed.
> Its name is misleading, as it suggests a destroy-state flag
> rather than RX mode activity. Rename it for clarity.
>
> No functional change.
>
> Signed-off-by: Alexei Lazar <alazar@xxxxxxxxxx>
> Reviewed-by: Shahar Shitrit <shshitrit@xxxxxxxxxx>
> Signed-off-by: Tariq Toukan <tariqt@xxxxxxxxxx>
> ---
> drivers/net/ethernet/mellanox/mlx5/core/en/fs.h | 5 +++--
> drivers/net/ethernet/mellanox/mlx5/core/en_fs.c | 17 +++++++++--------
> .../net/ethernet/mellanox/mlx5/core/en_main.c | 15 +++++++++------
> 3 files changed, 21 insertions(+), 16 deletions(-)
Reviewed-by: Joe Damato <joe@xxxxxxx>