net/mlx5: Add new list to store deleted flow counters
[sfrench/cifs-2.6.git] / include / linux / mlx5 / driver.h
index 7a452716de4be0a7902f26ccc97ce124c6b168ff..4b53ac64004b9b5d2afef0f0e0f3f4cd304ae2c4 100644 (file)
@@ -584,9 +584,8 @@ struct mlx5_irq_info {
 
 struct mlx5_fc_stats {
        struct rb_root counters;
-       struct list_head addlist;
-       /* protect addlist add/splice operations */
-       spinlock_t addlist_lock;
+       struct llist_head addlist;
+       struct llist_head dellist;
 
        struct workqueue_struct *wq;
        struct delayed_work work;