linux/drivers/infiniband
Mark Zhang 1bd8e0a9d0 RDMA/counter: Allow manual mode configuration support
In manual mode a QP is bound to a counter manually. If counter is not
specified then a new one will be allocated.

Manual mode is enabled when user binds a QP, and disabled when the last
manually bound QP is unbound.

When auto-mode is turned off and there are counters left, manual mode is
enabled so that the user is able to access these counters.

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>
2019-07-05 10:22:55 -03:00
..
core RDMA/counter: Allow manual mode configuration support 2019-07-05 10:22:55 -03:00
hw IB/mlx5: Add counter_alloc_stats() and counter_update_stats() support 2019-07-05 10:22:55 -03:00
sw rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
ulp IB/ipoib: Add child to parent list only if device initialized 2019-07-04 14:20:54 -03:00
Kconfig rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00