Yamin Friedman 3446cbd2d5 RDMA/core: Add protection for shared CQs used by ULPs
A pre-step for adding shared CQs. Add the infrastructure to prevent shared
CQ users from altering the CQ configurations. For now all cqs are marked
as private (non-shared). The core driver should use the new force
functions to perform resize/destroy/moderation changes that are not
allowed for users of shared CQs.

Link: https://lore.kernel.org/r/1590568495-101621-2-git-send-email-yaminf@mellanox.com
Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2020-05-29 15:40:51 -03:00
..
2020-01-25 15:11:37 -04:00
2020-05-27 16:05:05 -03:00
2019-08-20 13:27:53 -04:00
2020-03-04 14:28:25 -04:00
2019-06-28 21:18:23 -03:00
2020-05-12 11:47:48 -03:00
2018-12-12 07:40:16 -07:00
2018-12-12 07:40:16 -07:00
2020-05-27 16:05:05 -03:00