diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/vpp_papi_provider.py | 8 | ||||
-rw-r--r-- | test/vpp_vhost_interface.py | 5 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index 5ff7db990c0..e926c46f550 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -3729,6 +3729,8 @@ class VppPapiProvider(object): is_server, sock_filename, renumber, + disable_mrg_rxbuf, + disable_indirect_desc, custom_dev_instance, use_custom_mac, mac_address, @@ -3737,16 +3739,20 @@ class VppPapiProvider(object): :param is_server: is server :param sock_filename: socket name :param renumber: renumber + :param disable_mrg_rxbuf: disable mergable rx buffers + :param disable_indirect_desc: disable indirect descriptors :param custom_dev_instance: custom dev instance :param use_custom_mac: use custom mac :param mac_address: mac address - :param tag: tag (default '' + :param tag: tag (default '') """ return self.api( self.papi.create_vhost_user_if, {'is_server': is_server, 'sock_filename': sock_filename, 'renumber': renumber, + 'disable_mrg_rxbuf': disable_mrg_rxbuf, + 'disable_indirect_desc': disable_indirect_desc, 'custom_dev_instance': custom_dev_instance, 'use_custom_mac': use_custom_mac, 'mac_address': mac_address, 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, |