Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox...
[sfrench/cifs-2.6.git] / include / linux / mlx5 / mlx5_ifc.h
index 0f460fb22c31bc67c8fc4453105e028f242e5797..15e36198f85fb74f442ab1ed0b57600763f08f68 100644 (file)
@@ -906,7 +906,8 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         log_max_mkey[0x6];
        u8         reserved_at_f0[0x8];
        u8         dump_fill_mkey[0x1];
-       u8         reserved_at_f9[0x3];
+       u8         reserved_at_f9[0x2];
+       u8         fast_teardown[0x1];
        u8         log_max_eq[0x4];
 
        u8         max_indirection[0x8];
@@ -3370,12 +3371,13 @@ struct mlx5_ifc_teardown_hca_out_bits {
 
        u8         reserved_at_40[0x3f];
 
-       u8         force_state[0x1];
+       u8         state[0x1];
 };
 
 enum {
        MLX5_TEARDOWN_HCA_IN_PROFILE_GRACEFUL_CLOSE  = 0x0,
        MLX5_TEARDOWN_HCA_IN_PROFILE_FORCE_CLOSE     = 0x1,
+       MLX5_TEARDOWN_HCA_IN_PROFILE_PREPARE_FAST_TEARDOWN = 0x2,
 };
 
 struct mlx5_ifc_teardown_hca_in_bits {