aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/pci
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-03-26 15:35:33 +0200
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-26 20:00:05 +0000
commit20ba16461ce232f5bb785b6b6189cf834ccfee1e (patch)
tree091fac7d4f928710387dad634fab526087f46f1a /src/vlib/pci
parent43fc6884b5cb0e6042450b23bd457592ce2cad4d (diff)
vlib: add support for vfio no-iommu mode
Change-Id: Ic83971d8d9d8d0bb90a35932e60761cd728457f3 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/pci')
-rw-r--r--src/vlib/pci/pci.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/pci/pci.h b/src/vlib/pci/pci.h
index 144eb3f598e..ec805b3ed53 100644
--- a/src/vlib/pci/pci.h
+++ b/src/vlib/pci/pci.h
@@ -59,6 +59,9 @@ typedef CLIB_PACKED (union
typedef struct vlib_pci_device_info
{
+ u32 flags;
+#define VLIB_PCI_DEVICE_INFO_F_NOIOMMU (1 << 0);
+
/* addr */
vlib_pci_addr_t addr;