OpenCloudOS-Kernel/include/uapi/rdma
Jason Gunthorpe 6a217437f9 Merge branch 'sg_nents' into rdma.git for-next
From Maor Gottlieb
====================

Fix the use of nents and orig_nents in the sg table append helpers. The
nents should be used by the DMA layer to store the number of DMA mapped
sges, the orig_nents is the number of CPU sges.

Since the sg append logic doesn't always create a SGL with exactly
orig_nents entries store a total_nents as well to allow the table to be
properly free'd and reorganize the freeing logic to share across all the
use cases.

====================

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

* 'sg_nents':
  RDMA: Use the sg_table directly and remove the opencoded version from umem
  lib/scatterlist: Fix wrong update of orig_nents
  lib/scatterlist: Provide a dedicated function to support table append
2021-08-30 09:49:59 -03: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 ABI to pass wqe-mode to user space 2021-06-21 20:58:52 -03: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
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/irdma: Implement device supported verb APIs 2021-06-02 19:55:18 -03:00
ib_user_mad.h RDMA/core: Use flexible array for mad data 2021-06-22 14:05:34 -03: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
irdma-abi.h RDMA/irdma: Make spdxcheck.py happy 2021-07-12 14:52:25 -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-abi.h RDMA/mlx5: Add DCS offload support 2021-07-20 15:04:14 -03:00
mlx5_user_ioctl_cmds.h RDMA/mlx5: Expose private query port 2021-04-20 17:00:18 -03:00
mlx5_user_ioctl_verbs.h RDMA/mlx5: Expose private query port 2021-04-20 17:00:18 -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/nldev: Add copy-on-fork attribute to get sys command 2021-04-27 15:33:20 -03:00
rdma_user_cm.h RDMA/cma: Provide ECE reject reason 2020-05-27 16:05:05 -03: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_ioctl_cmds.h docs: fix broken references to text files 2020-04-20 15:35:59 -06:00
rdma_user_rxe.h RDMA/rxe: Add bind MW fields to rxe_send_wr 2021-06-16 20:51:17 -03: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