Files
android_kernel_xiaomi_sm8450/drivers/infiniband/hw/mlx5
Mark Zhang d14133dd41 IB/mlx5: Support set qp counter
Support bind a qp with counter. If counter is null then bind the qp to the
default counter. Different QP state has different operation:

- RESET: Set the counter field so that it will take effective during
  RST2INIT change;
- RTS: Issue an RTS2RTS change to update the QP counter;
- Other: Set the counter field and mark the counter_pending flag, when QP
  is moved to RTS state and this flag is set, then issue an RTS2RTS
  modification to update the counter.

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>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-07-05 10:22:55 -03:00
..
2019-04-08 13:05:25 -03:00
2019-05-29 13:03:21 -03:00
2019-07-03 16:50:26 -03:00
2019-07-03 17:13:44 -03:00
2019-06-26 12:01:28 -07:00
2019-07-05 10:16:19 -03:00
2019-07-03 16:50:26 -03:00
2019-07-05 10:22:55 -03:00
2019-07-03 16:50:26 -03:00
2019-07-03 16:50:26 -03:00
2019-07-05 10:22:55 -03:00
2019-04-08 13:05:25 -03:00
2019-04-08 13:05:25 -03:00