]> git.ipfire.org Git - thirdparty/kernel/stable.git/blobdiff - include/linux/mlx5/driver.h
net/mlx5: Change flow counters addlist type to single linked list
[thirdparty/kernel/stable.git] / include / linux / mlx5 / driver.h
index 7a452716de4be0a7902f26ccc97ce124c6b168ff..c00549293982ebf305d8e4ac05829d05f6b6c0b2 100644 (file)
@@ -584,9 +584,7 @@ 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 workqueue_struct *wq;
        struct delayed_work work;