From ee8ba6877efb916b88255821f94ef33437724f75 Mon Sep 17 00:00:00 2001 From: Steven Luong Date: Thu, 14 Mar 2019 09:57:09 -0700 Subject: 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 --- src/plugins/vmxnet3/vmxnet3.api | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/plugins/vmxnet3/vmxnet3.api') diff --git a/src/plugins/vmxnet3/vmxnet3.api b/src/plugins/vmxnet3/vmxnet3.api index 804ba538be5..7408836af7b 100644 --- a/src/plugins/vmxnet3/vmxnet3.api +++ b/src/plugins/vmxnet3/vmxnet3.api @@ -28,6 +28,8 @@ option version = "1.0.0"; @param rxq_num - number of receive queues (optional - default is 1) @param txq_size - transmit queue size (optional - default is 1024) @param txq_num - number of transmit queues (optional - default is 1) + @param bind - automatically bind PCI to vfio-pci module + (optional - default is 0) */ define vmxnet3_create @@ -41,6 +43,7 @@ define vmxnet3_create u16 rxq_num; u16 txq_size; u16 txq_num; + u8 bind; }; /** \brief -- cgit 1.2.3-korg