OSDN Git Service

RDMA/usnic: Use device_iommu_capable()
authorRobin Murphy <robin.murphy@arm.com>
Wed, 8 Jun 2022 11:46:33 +0000 (12:46 +0100)
committerLeon Romanovsky <leonro@nvidia.com>
Thu, 16 Jun 2022 07:15:29 +0000 (10:15 +0300)
commitd56e336e8444970964b6e8d1bd4536f505256c41
tree0e72aa23d8422d07fa16b584241608d002c03565
parent925d046e7e52c71c3531199ce137e141807ef740
RDMA/usnic: Use device_iommu_capable()

Use the new interface to check the capability for our device
specifically.

Link: https://lore.kernel.org/r/96ffe7050da0aa0ad6bce4705c3532f3ecaf32e3.1654688682.git.robin.murphy@arm.com
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/usnic/usnic_uiom.c