projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mlx4: Use flow counters on IBoE ports
[linux-2.6-block.git]
/
drivers
/
infiniband
/
hw
/
mlx4
/
mlx4_ib.h
diff --git
a/drivers/infiniband/hw/mlx4/mlx4_ib.h
b/drivers/infiniband/hw/mlx4/mlx4_ib.h
index 2a322f21049fad5366a4c9464e998dba4ebe8167..e4bf2cff86626057a2a9a78bf2b160685d276d65 100644
(file)
--- a/
drivers/infiniband/hw/mlx4/mlx4_ib.h
+++ b/
drivers/infiniband/hw/mlx4/mlx4_ib.h
@@
-193,6
+193,7
@@
struct mlx4_ib_dev {
struct mutex cap_mask_mutex;
bool ib_active;
struct mlx4_ib_iboe iboe;
+ int counters[MLX4_MAX_PORTS];
};
static inline struct mlx4_ib_dev *to_mdev(struct ib_device *ibdev)