mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-02 21:39:29 +00:00
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 |
||
|---|---|---|
| .. | ||
| hfi | ||
| bnxt_re-abi.h | ||
| cxgb4-abi.h | ||
| efa-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 | ||
| 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 | ||