summaryrefslogtreecommitdiffstats
path: root/vnfs/qemu/qemu_pci_passthrough.py
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2016-08-08 08:16:20 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-08 08:16:20 +0000
commit28b133e55f7bb8728c699b1e5db575c12dd01965 (patch)
tree1771c7007ec5bfb5e0edbc395167a5b21b138d08 /vnfs/qemu/qemu_pci_passthrough.py
parentfc480dd1139f12730c68c72f738b3df8080af283 (diff)
parent1a4a0b2e26c155025bc85fbbff83fcdcc3c18d7f (diff)
Merge "dpdk: Testpmd forwarding mode changes in v16.07"
Diffstat (limited to 'vnfs/qemu/qemu_pci_passthrough.py')
-rw-r--r--vnfs/qemu/qemu_pci_passthrough.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnfs/qemu/qemu_pci_passthrough.py b/vnfs/qemu/qemu_pci_passthrough.py
index 14810f0a..951d6086 100644
--- a/vnfs/qemu/qemu_pci_passthrough.py
+++ b/vnfs/qemu/qemu_pci_passthrough.py
@@ -44,8 +44,8 @@ class QemuPciPassthrough(IVnfQemu):
# in case of SRIOV and PCI passthrough we must ensure, that MAC addresses are swapped
if S.getValue('SRIOV_ENABLED') and not self._testpmd_fwd_mode.startswith('mac'):
self._logger.info("SRIOV detected, forwarding mode of testpmd was changed from '%s' to '%s'",
- self._testpmd_fwd_mode, 'mac_retry')
- self._testpmd_fwd_mode = 'mac_retry'
+ self._testpmd_fwd_mode, 'mac')
+ self._testpmd_fwd_mode = 'mac'
for nic in self._nics:
self._cmd += ['-device', 'vfio-pci,host=' + nic['pci']]