mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
d54bd5abf4
Add resize_cq verb support for user space CQs. Resize operation for kernel CQs are not supported now. Driver should free the current CQ only after user library polls for all the completions and switch to new CQ. So after the resize_cq is returned from the driver, user library polls for existing completions and store it as temporary data. Once library reaps all completions in the current CQ, it invokes the ibv_cmd_poll_cq to inform the driver about the resize_cq completion. Adding a check for user CQs in driver's poll_cq and complete the resize operation for user CQs. Updating uverbs_cmd_mask with poll_cq to support this. Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Link: https://lore.kernel.org/r/1678868215-23626-1-git-send-email-selvin.xavier@broadcom.com Signed-off-by: Leon Romanovsky <leon@kernel.org> |
||
---|---|---|
.. | ||
hfi | ||
bnxt_re-abi.h | ||
cxgb4-abi.h | ||
efa-abi.h | ||
erdma-abi.h | ||
hns-abi.h | ||
ib_user_ioctl_cmds.h | ||
ib_user_ioctl_verbs.h | ||
ib_user_mad.h | ||
ib_user_sa.h | ||
ib_user_verbs.h | ||
irdma-abi.h | ||
mana-abi.h | ||
mlx4-abi.h | ||
mlx5_user_ioctl_cmds.h | ||
mlx5_user_ioctl_verbs.h | ||
mlx5-abi.h | ||
mthca-abi.h | ||
ocrdma-abi.h | ||
qedr-abi.h | ||
rdma_netlink.h | ||
rdma_user_cm.h | ||
rdma_user_ioctl_cmds.h | ||
rdma_user_ioctl.h | ||
rdma_user_rxe.h | ||
rvt-abi.h | ||
siw-abi.h | ||
vmw_pvrdma-abi.h |