Re: [PATCH net-next 3/3] net/mlx5: Initialize bulk for single flow counters
From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-01-15 11:10:11
Also in:
linux-rdma, lkml
From: Paolo Abeni <pabeni@redhat.com>
Date: 2026-01-15 11:10:11
Also in:
linux-rdma, lkml
On 1/12/26 10:40 AM, Tariq Toukan wrote:
@@ -220,8 +221,16 @@ static void mlx5_fc_stats_work(struct work_struct *work) mlx5_fc_stats_query_all_counters(dev); } +static void mlx5_fc_bulk_init(struct mlx5_fc_bulk *fc_bulk, u32 base_id) +{ + fc_bulk->base_id = base_id; + refcount_set(&fc_bulk->hws_data.hws_action_refcount, 0); + mutex_init(&fc_bulk->hws_data.lock); +}
Not worthy a repost, but you could have avoided moving this function placing it here in patch 1/3. /P