X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FQemuUtils.py;h=41b5f54684ed02c3afd09c3bcaabcd7ad5c39a36;hb=d7c297494fa96603a90dda7ec50e73c041ca6aa2;hp=0895f954093601f15331c05221c36ad3ad2b7a93;hpb=f88a3d9178dfbd73d0479f9aa2f5224e0c89ca1f;p=csit.git diff --git a/resources/libraries/python/QemuUtils.py b/resources/libraries/python/QemuUtils.py index 0895f95409..41b5f54684 100644 --- a/resources/libraries/python/QemuUtils.py +++ b/resources/libraries/python/QemuUtils.py @@ -196,7 +196,7 @@ class QemuUtils(object): self._params.add_with_value( 'append', '"ro rootfstype=9p rootflags=trans=virtio ' 'root=virtioroot console={console} tsc=reliable ' - 'hugepages=256 init={init}"'.format( + 'hugepages=256 init={init} fastboot"'.format( console=console, init=self._temp.get('ini'))) def create_kernelvm_config_vpp(self, **kwargs): @@ -235,6 +235,7 @@ class QemuUtils(object): vpp_config.add_dpdk_no_tx_checksum_offload() vpp_config.add_plugin('disable', 'default') vpp_config.add_plugin('enable', 'dpdk_plugin.so') + vpp_config.add_plugin('enable', 'memif_plugin.so') vpp_config.write_config(startup) # Create VPP running configuration. @@ -262,9 +263,8 @@ class QemuUtils(object): pmd_num_mbufs=16384, pmd_rxq=kwargs['queues'], pmd_txq=kwargs['queues'], - pmd_tx_offloads=False, + pmd_tx_offloads='0x0', pmd_disable_hw_vlan=False, - pmd_max_pkt_len=9200 if kwargs['jumbo_frames'] else None, pmd_nb_cores=str(self._opt.get('smp') - 1)) self._opt['vnf_bin'] = ('{testpmd_path}/{testpmd_cmd}'. @@ -287,9 +287,8 @@ class QemuUtils(object): pmd_eth_peer_1='1,{mac}'.format(mac=kwargs['vif2_mac']), pmd_rxq=kwargs['queues'], pmd_txq=kwargs['queues'], - pmd_tx_offloads=False, + pmd_tx_offloads='0x0', pmd_disable_hw_vlan=False, - pmd_max_pkt_len=9200 if kwargs['jumbo_frames'] else None, pmd_nb_cores=str(self._opt.get('smp') - 1)) self._opt['vnf_bin'] = ('{testpmd_path}/{testpmd_cmd}'.