Thread (7 messages) 7 messages, 4 authors, 2026-01-15

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

On 1/12/26 10:40 AM, Tariq Toukan wrote:
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help