diff options
author | Parav Pandit | 2020-11-25 08:46:28 +0200 |
---|---|---|
committer | Jason Gunthorpe | 2020-11-26 15:49:05 -0400 |
commit | 7ec3df174f2b225267849d5e645d641d5f98dcd8 (patch) | |
tree | e8c0f020948190cc04c2a95c3131054fd973f05b /include/rdma | |
parent | d4b2d19dc53ecb5ef4fe79cc2d4b7ae3413b2604 (diff) |
RDMA/mlx5: Use PCI device for dma mappings
DMA operation of the IB device is done using ib_device->dma_device.
Instead of accessing parent of the IB device, use the PCI dma device which
is setup to ib_device->dma_device during IB device registration.
Link: https://lore.kernel.org/r/20201125064628.8431-1-leon@kernel.org
Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'include/rdma')
0 files changed, 0 insertions, 0 deletions