Santosh, On Tue, Jan 19, 2016 at 7:57 PM, Santosh Shukla <sshukla at mvista.com> wrote: > Adding RTE_KDRV_VFIO_NOIOMMU mode in kernel driver. Also including > rte_vfio_is_noiommu() helper function. This function will parse > /sys/bus/pci/device/<bus_addr>/ and make sure that > - vfio noiommu mode set in kernel driver > - pci device attached to vfio-noiommu driver only > > If both condition satisfies then set drv->kdrv = RTE_KDRV_VFIO_NOIOMMU > > Also did similar changes in virtio_rd/wr, Changes applicable for virtio spec > 0.95 only.
This is a mode (specific to vfio), not a new kernel driver. How come we need to distinguish between with/without iommu modes ? Should not vfio behave the same way from an api point of view ? Regards, -- David Marchand