net/mlx5: Add rts2rts_qp_counters_set_id field in hca cap
authorMark Zhang <markz@mellanox.com>
Tue, 2 Jul 2019 10:02:30 +0000 (13:02 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Thu, 4 Jul 2019 18:36:33 +0000 (21:36 +0300)
Add rts2rts_qp_counters_set_id field in hca cap so that RTS2RTS
qp modification can be used to change the counter of a QP.

Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Majd Dibbiny <majd@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
include/linux/mlx5/mlx5_ifc.h

index f03ec31e32326530f4788cc0351876d66e9c75b2..06881b79167ed412ab48526741e08f7212497ca6 100644 (file)
@@ -1096,7 +1096,9 @@ struct mlx5_ifc_cmd_hca_cap_bits {
        u8         cc_modify_allowed[0x1];
        u8         start_pad[0x1];
        u8         cache_line_128byte[0x1];
-       u8         reserved_at_165[0xa];
+       u8         reserved_at_165[0x4];
+       u8         rts2rts_qp_counters_set_id[0x1];
+       u8         reserved_at_16a[0x5];
        u8         qcam_reg[0x1];
        u8         gid_table_size[0x10];