aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/vmxnet3/vmxnet3.h
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2019-03-14 09:57:09 -0700
committerDamjan Marion <dmarion@me.com>2019-03-18 11:11:50 +0000
commitee8ba6877efb916b88255821f94ef33437724f75 (patch)
treeaeb507c38ba53a60791c7084f6f47d540608971f /src/plugins/vmxnet3/vmxnet3.h
parenta990a2e4930014f025338d8ce186abfa12ec09ff (diff)
vmxnet3: auto bind support
For creating the vmxnet3 interface, add the bind option to automatically bind the pci to vfio-pci module which removes the need for manual bind. Manual bind still works, should people prefer to go that route. Change-Id: Ife75926f8755d754a08dd0ecff0f1de326ad5ba1 Signed-off-by: Steven Luong <sluong@cisco.com>
Diffstat (limited to 'src/plugins/vmxnet3/vmxnet3.h')
-rw-r--r--src/plugins/vmxnet3/vmxnet3.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/vmxnet3/vmxnet3.h b/src/plugins/vmxnet3/vmxnet3.h
index 7bc05ec4267..65aa929ddcd 100644
--- a/src/plugins/vmxnet3/vmxnet3.h
+++ b/src/plugins/vmxnet3/vmxnet3.h
@@ -605,6 +605,7 @@ typedef struct
u16 rxq_num;
u16 txq_size;
u16 txq_num;
+ u8 bind;
/* return */
i32 rv;
u32 sw_if_index;