-
- Downloads
RDMA/counter: Add "auto" configuration mode support
In auto mode all QPs belong to one category are bind automatically to a single counter set. Currently only "qp type" is supported. In this mode the qp counter is set in RST2INIT modification, and when a qp is destroyed the counter is unbound. Signed-off-by:Mark Zhang <markz@mellanox.com> Reviewed-by:
Majd Dibbiny <majd@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/core/counters.c 221 additions, 0 deletionsdrivers/infiniband/core/counters.c
- drivers/infiniband/core/device.c 3 additions, 0 deletionsdrivers/infiniband/core/device.c
- drivers/infiniband/core/verbs.c 9 additions, 0 deletionsdrivers/infiniband/core/verbs.c
- include/rdma/ib_verbs.h 18 additions, 0 deletionsinclude/rdma/ib_verbs.h
- include/rdma/rdma_counter.h 8 additions, 0 deletionsinclude/rdma/rdma_counter.h
Loading
Please register or sign in to comment