Searched hist:d14133dd41614aaaac1fa0505c7dab01f4211d2c (Results 1 – 2 of 2) sorted by relevance
/linux/include/linux/mlx5/ |
H A D | qp.h | diff d14133dd41614aaaac1fa0505c7dab01f4211d2c Tue Jul 02 12:02:36 CEST 2019 Mark Zhang <markz@mellanox.com> 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>
|
/linux/drivers/infiniband/hw/mlx5/ |
H A D | qp.c | diff d14133dd41614aaaac1fa0505c7dab01f4211d2c Tue Jul 02 12:02:36 CEST 2019 Mark Zhang <markz@mellanox.com> 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>
|