]> Pileus Git - ~andy/linux/blobdiff - drivers/infiniband/hw/mlx4/mlx4_ib.h
IB/mlx4: Use flow counters on IBoE ports
[~andy/linux] / drivers / infiniband / hw / mlx4 / mlx4_ib.h
index 2a322f21049fad5366a4c9464e998dba4ebe8167..e4bf2cff86626057a2a9a78bf2b160685d276d65 100644 (file)
@@ -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)