IB/mlx5: Allow future extension of libmlx5 input data
[linux-2.6-block.git] / include / linux / mlx5 / driver.h
index bb362f506a2eee3c3510254cdab262667a84bd5c..7e7394fef8352314d76fef633d72a74d54bffbfa 100644 (file)
@@ -189,18 +189,17 @@ enum mlx5_eq_type {
 };
 
 struct mlx5_bfreg_info {
-       struct mlx5_uar        *uars;
-       int                     num_uars;
+       u32                    *sys_pages;
        int                     num_low_latency_bfregs;
-       unsigned long          *bitmap;
        unsigned int           *count;
-       struct mlx5_bf         *bfs;
 
        /*
         * protect bfreg allocation data structs
         */
        struct mutex            lock;
        u32                     ver;
+       bool                    lib_uar_4k;
+       u32                     num_sys_pages;
 };
 
 struct mlx5_cmd_first {
@@ -470,13 +469,10 @@ struct mlx5_sq_bfreg {
 
 struct mlx5_uar {
        u32                     index;
-       struct list_head        bf_list;
-       unsigned                free_bf_bmap;
-       void __iomem           *bf_map;
        void __iomem           *map;
+       void __iomem           *bf_map;
 };
 
-
 struct mlx5_core_health {
        struct health_buffer __iomem   *health;
        __be32 __iomem                 *health_counter;