summaryrefslogtreecommitdiffstats
path: root/src/plugins/ixge/ixge.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-10-05 15:32:41 +0200
committerDave Barach <openvpp@barachs.net>2017-12-09 14:10:17 +0000
commitcef87f1a5eb4d69cf11ce1cd3c5506edcfba74c4 (patch)
treebc9ee3eb220f9c8a1fb416a45768a99b2f5be53b /src/plugins/ixge/ixge.h
parent34719e37bf820e8398ca9159725f7f4c42764aeb (diff)
vlib: PCI rework to support VFIO
Also fixes old ixge driver, so it works with recent physmem changes and vfio. Change-Id: Id4be74b34daed47cd281a77eec43d6692340d882 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/ixge/ixge.h')
-rw-r--r--src/plugins/ixge/ixge.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/ixge/ixge.h b/src/plugins/ixge/ixge.h
index a87af1ab04b..c766397525b 100644
--- a/src/plugins/ixge/ixge.h
+++ b/src/plugins/ixge/ixge.h
@@ -1208,7 +1208,7 @@ typedef struct
u32 per_interface_next_index;
/* PCI bus info. */
- vlib_pci_device_t pci_device;
+ vlib_pci_dev_handle_t pci_dev_handle;
/* From PCI config space header. */
ixge_pci_device_id_t device_id;
@@ -1253,8 +1253,6 @@ typedef struct
u32 n_descriptors_per_cache_line;
- u32 vlib_buffer_free_list_index;
-
u32 process_node_index;
/* Template and mask for initializing/validating TX descriptors. */
@@ -1268,6 +1266,7 @@ typedef struct
f64 time_last_stats_update;
vlib_physmem_region_index_t physmem_region;
+ int physmem_region_allocated;
} ixge_main_t;
extern ixge_main_t ixge_main;