net/mlx5: Add new list to store deleted flow counters
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / fs_core.h
index f68590291e0cd48ed160c02195f0589bd1cb9e74..617d6239c5f343d4499704401669879b163d30ce 100644 (file)
@@ -141,6 +141,7 @@ struct mlx5_fc_cache {
 struct mlx5_fc {
        struct rb_node node;
        struct llist_node addlist;
+       struct llist_node dellist;
 
        /* last{packets,bytes} members are used when calculating the delta since
         * last reading
@@ -149,7 +150,6 @@ struct mlx5_fc {
        u64 lastbytes;
 
        u32 id;
-       bool deleted;
        bool aging;
 
        struct mlx5_fc_cache cache ____cacheline_aligned_in_smp;