numam-dpdk/drivers/bus/vdev
Maxime Coquelin 8d935fff55 bus/vdev: add driver IOVA VA mode requirement
This patch adds driver flag in vdev bus driver so that
vdev drivers can require VA IOVA mode to be used, which
for example the case of Virtio-user PMD.

The patch implements the .get_iommu_class() callback, that
is called before devices probing to determine the IOVA mode
to be used, and adds a check right before the device is
probed to ensure compatible IOVA mode has been selected.

It also adds a ABI exception rule to accommodate with an
update on the driver registration API

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Acked-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2021-01-29 18:16:09 +01:00
..
meson.build drivers: add headers install helper 2020-10-22 14:16:22 +02:00
rte_bus_vdev.h bus/vdev: add driver IOVA VA mode requirement 2021-01-29 18:16:09 +01:00
vdev_logs.h drivers: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
vdev_params.c bus/vdev: add iteration filter on name 2018-10-26 22:14:05 +02:00
vdev_private.h bus/vdev: implement device iteration 2018-10-03 14:22:39 +02:00
vdev.c bus/vdev: add driver IOVA VA mode requirement 2021-01-29 18:16:09 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00