linux/include/uapi/rdma
Jason Gunthorpe 7610ab57de RDMA/mlx5: Allow larger pages in DevX umem
The umem DMA list calculation was locked at 4k pages due to confusion
around how this API works and is used when larger pages are present.

The conclusion is:

 - umem's cannot extend past what is mapped into the process, so creating
   a lage page size and referring to a sub-range is not allowed

 - umem's must always have a page offset of zero, except for sub PAGE_SIZE
   umems

 - The feature of umem_offset to create multiple objects inside a umem
   is buggy and isn't used anyplace. Thus we can assume all users of the
   current API have umem_offset == 0 as well

Provide a new page size calculator that limits the DMA list to the VA
range and enforces umem_offset == 0.

Allow user space to specify the page sizes which it can accept, this
bitmap must be derived from the intended use of the umem, based on
per-usage HW limitations.

Link: https://lore.kernel.org/r/20210304130501.1102577-4-leon@kernel.org
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-03-11 20:20:37 -04:00
..
hfi IB/hfi1: Add accelerated IP capability bit 2020-05-21 11:23:53 -03:00
bnxt_re-abi.h RDMA/bnxt_re: Update kernel user abi to pass chip context 2019-02-07 13:24:49 -07:00
cxgb4-abi.h iw_cxgb4: RDMA write with immediate support 2018-08-02 20:16:02 -06:00
efa-abi.h RDMA/efa: Introduce SRD RNR retry 2020-08-18 14:52:45 -03:00
hns-abi.h RDMA/hns: Add support for XRC on HIP09 2021-03-11 19:51:27 -04:00
i40iw-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
ib_user_ioctl_cmds.h RDMA/uverbs: Add uverbs command for dma-buf based MR registration 2021-01-20 16:07:52 -04:00
ib_user_ioctl_verbs.h RDMA/uverbs: Expose the new GID query API to user space 2020-10-01 21:20:11 -03:00
ib_user_mad.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ib_user_sa.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ib_user_verbs.h RDMA: Check attr_mask during modify_qp 2020-10-26 19:27:58 -03:00
mlx4-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
mlx5_user_ioctl_cmds.h RDMA/mlx5: Allow larger pages in DevX umem 2021-03-11 20:20:37 -04:00
mlx5_user_ioctl_verbs.h Merge branch 'mlx5_tx_steering' into rdma.git for-next 2020-03-27 13:26:59 -03:00
mlx5-abi.h RDMA/mlx5: Return ECE data after modify QP 2020-05-27 16:07:49 -03:00
mthca-abi.h uapi: Fix SPDX tags for files referring to the 'OpenIB.org' license 2018-04-23 11:10:33 -04:00
ocrdma-abi.h RDMA: Change all uapi headers to use __aligned_u64 instead of __u64 2018-03-27 14:25:09 -06:00
qedr-abi.h RDMA/qedr: Add EDPM max size to alloc ucontext response 2020-07-16 16:01:55 -03:00
rdma_netlink.h RDMA/counter: Add PID category support in auto mode 2020-07-10 16:50:53 -03:00
rdma_user_cm.h RDMA/cma: Provide ECE reject reason 2020-05-27 16:05:05 -03:00
rdma_user_ioctl_cmds.h docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
rdma_user_ioctl.h RDMA: rdma_user_ioctl.h: fix a duplicated word + clarify 2020-07-20 16:42:08 -03:00
rdma_user_rxe.h RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
rvt-abi.h treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers 2019-07-25 11:05:10 +02:00
siw-abi.h RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
vmw_pvrdma-abi.h RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC 2021-01-19 20:17:27 -04:00