summaryrefslogtreecommitdiffstats
path: root/test/vpp_vhost_interface.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpp_vhost_interface.py')
-rw-r--r--test/vpp_vhost_interface.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/vpp_vhost_interface.py b/test/vpp_vhost_interface.py
index e86be5d27b5..0a5f6b72b2f 100644
--- a/test/vpp_vhost_interface.py
+++ b/test/vpp_vhost_interface.py
@@ -5,6 +5,7 @@ class VppVhostInterface(VppInterface):
"""VPP vhost interface."""
def __init__(self, test, sock_filename, is_server=0, renumber=0,
+ disable_mrg_rxbuf=0, disable_indirect_desc=0,
custom_dev_instance=0, use_custom_mac=0, mac_address='',
tag=''):
@@ -13,6 +14,8 @@ class VppVhostInterface(VppInterface):
self.is_server = is_server
self.sock_filename = sock_filename
self.renumber = renumber
+ self.disable_mrg_rxbuf = disable_mrg_rxbuf
+ self.disable_indirect_desc = disable_indirect_desc
self.custom_dev_instance = custom_dev_instance
self.use_custom_mac = use_custom_mac
self.mac_address = mac_address
@@ -22,6 +25,8 @@ class VppVhostInterface(VppInterface):
r = self.test.vapi.create_vhost_user_if(self.is_server,
self.sock_filename,
self.renumber,
+ self.disable_mrg_rxbuf,
+ self.disable_indirect_desc,
self.custom_dev_instance,
self.use_custom_mac,
self.mac_address,