aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/QemuManager.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2020-01-02 13:25:01 +0000
committerPeter Mikus <pmikus@cisco.com>2020-01-07 15:25:06 +0000
commitae652334356c12b167399a340ad55abd1ef7bbce (patch)
treeca63fa2d81f76417e4f5dae734e88bc4dcc8078c /resources/libraries/python/QemuManager.py
parent3a001f6be69e9bc3a5c1cfe3386f9d62fd680af1 (diff)
Vhost: Add GSO option
Signed-off-by: Peter Mikus <pmikus@cisco.com> Change-Id: Iba9af71c293645b480203af72fcf940cbe9ccb3a
Diffstat (limited to 'resources/libraries/python/QemuManager.py')
-rw-r--r--resources/libraries/python/QemuManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/resources/libraries/python/QemuManager.py b/resources/libraries/python/QemuManager.py
index cfc4fbd7c9..c55e5af762 100644
--- a/resources/libraries/python/QemuManager.py
+++ b/resources/libraries/python/QemuManager.py
@@ -96,11 +96,13 @@ class QemuManager:
)
self.machines[name].qemu_add_vhost_user_if(
sock1, jumbo_frames=kwargs[u"jumbo"], queues=queues,
- queue_size=kwargs[u"perf_qemu_qsz"]
+ queue_size=kwargs[u"perf_qemu_qsz"],
+ csum=kwargs[u"enable_csum"], gso=kwargs[u"enable_gso"]
)
self.machines[name].qemu_add_vhost_user_if(
sock2, jumbo_frames=kwargs[u"jumbo"], queues=queues,
- queue_size=kwargs[u"perf_qemu_qsz"]
+ queue_size=kwargs[u"perf_qemu_qsz"],
+ csum=kwargs[u"enable_csum"], gso=kwargs[u"enable_gso"]
)
def construct_vms_on_all_nodes(self, **kwargs):