Jason Gunthorpe 1c407cb5d7 RDMA: Check flags during create_cq
Each driver should check that the CQ attrs is supported. Unfortuantely
when flags was added to the CQ attrs the drivers were not updated,
uverbs_ex_cmd_mask was used to block it. This was missed when create CQ
was converted to ioctl, so non-zero flags could have been passed into
drivers.

Check that flags is zero in all drivers that don't use it, remove
IB_USER_VERBS_EX_CMD_CREATE_CQ from uverbs_ex_cmd_mask.

Fixes: 41b2a71fc848 ("IB/uverbs: Move ioctl path of create_cq and destroy_cq to a new file")
Link: https://lore.kernel.org/r/7-v1-caa70ba3d1ab+1436e-ucmd_mask_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-10-26 19:27:59 -03:00
..
2020-10-26 19:27:59 -03:00
2020-09-09 14:14:29 -03:00
2016-03-10 20:37:27 -05:00
2020-10-26 19:27:58 -03:00
2019-06-28 22:34:26 -03:00
2019-04-24 11:31:49 -03:00
2019-04-24 11:31:49 -03:00
2016-12-11 15:25:13 -05:00
2019-04-24 11:31:49 -03:00
2016-03-10 20:37:27 -05:00