On Wed, Nov 25, 2020 at 08:46:28AM +0200, Leon Romanovsky wrote: > From: Parav Pandit <parav@xxxxxxxxxx> > > 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. > > Signed-off-by: Parav Pandit <parav@xxxxxxxxxx> > Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx> > --- > Chagenlog: > v1: > * Use PCI device directly instead of ib_dma API > * Limited checkpatch to 80 symbols. > v0: https://lore.kernel.org/linux-rdma/20201123082400.351371-1-leon@xxxxxxxxxx > --- > drivers/infiniband/hw/mlx5/mr.c | 20 +++++++++++--------- > 1 file changed, 11 insertions(+), 9 deletions(-) Applied to for-next, thanks Jason