linux/drivers/infiniband/sw/rdmavt
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
..
ah.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
ah.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
cq.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
cq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
Kconfig RDMA/core: remove use of dma_virt_ops 2020-11-17 15:22:07 -04:00
mad.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mad.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcast.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mcast.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mmap.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mmap.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mr.c Merge branch 'sg_nents' into rdma.git for-next 2021-08-30 09:49:59 -03:00
mr.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
pd.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
pd.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
qp.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
qp.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
rc.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
srq.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
srq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_cq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_mr.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_qp.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_rc.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_rvt.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_tx.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
vt.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
vt.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00