diff options
author | Mark Zhang <[email protected]> | 2019-07-02 13:02:36 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-07-05 10:22:55 -0300 |
commit | d14133dd41614aaaac1fa0505c7dab01f4211d2c (patch) | |
tree | 5590a7515cc8af18bc0e0ddfa535222f99d219e5 /net/lapb/lapb_timer.c | |
parent | 99fa331dc8629be55ac7a0cca0dc56492070ddac (diff) |
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 <[email protected]>
Reviewed-by: Majd Dibbiny <[email protected]>
Acked-by: Saeed Mahameed <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions