path: root/drivers/net/mlx4
diff options
authorBen Walker <>2019-06-14 11:39:17 +0200
committerThomas Monjalon <>2019-07-05 16:56:00 +0200
commit703458e19c16135143b3f30089e1af66100c82dc (patch)
tree188e0d93cb2ab3c37220da245f719c9ca8a1c406 /drivers/net/mlx4
parentc2361bab70c56f64e50f07946b1b20bf688d782a (diff)
bus/pci: consider only usable devices for IOVA mode
When selecting the preferred IOVA mode of the pci bus, the current heuristic ("are devices bound?", "are devices bound to UIO?", "are pmd drivers supporting IOVA as VA?" etc..) should honor the device white/blacklist so that an unwanted device does not impact the decision. There is no reason to consider a device which has no driver available. This applies to all OS, so implements this in common code then call a OS specific callback. On Linux side: - the VFIO special considerations should be evaluated only if VFIO support is built, - there is no strong requirement on using VA rather than PA if a driver supports VA, so defaulting to DC in such a case. Signed-off-by: Ben Walker <> Signed-off-by: David Marchand <> Reviewed-by: Anatoly Burakov <>
Diffstat (limited to 'drivers/net/mlx4')
0 files changed, 0 insertions, 0 deletions