net/mlx5: Add release all pages capability bit
authorEran Ben Elisha <eranbe@mellanox.com>
Fri, 24 Apr 2020 19:45:09 +0000 (12:45 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 28 Apr 2020 19:45:18 +0000 (12:45 -0700)
Add a bit in HCA capabilities layout to indicate if release all pages is
supported.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index 6a6bb5d..fb24384 100644 (file)
@@ -1244,7 +1244,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         reserved_at_130[0xa];
        u8         log_max_ra_res_dc[0x6];
 
-       u8         reserved_at_140[0x9];
+       u8         reserved_at_140[0x6];
+       u8         release_all_pages[0x1];
+       u8         reserved_at_147[0x2];
        u8         roce_accl[0x1];
        u8         log_max_ra_req_qp[0x6];
        u8         reserved_at_150[0xa];