Re: [PATCH rdma-next v1] IB/mlx5: Use PCI device for dma mappings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux