projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/mlx5: Store counters in rbtree instead of list
[cascardo/linux.git]
/
include
/
linux
/
mlx5
/
driver.h
diff --git
a/include/linux/mlx5/driver.h
b/include/linux/mlx5/driver.h
index
81e8396
..
a041b99
100644
(file)
--- a/
include/linux/mlx5/driver.h
+++ b/
include/linux/mlx5/driver.h
@@
-469,7
+469,7
@@
struct mlx5_irq_info {
};
struct mlx5_fc_stats {
- struct
list_head list
;
+ struct
rb_root counters
;
struct list_head addlist;
/* protect addlist add/splice operations */
spinlock_t addlist_lock;