Fix jumbo frames
[csit.git] / resources / libraries / python / QemuUtils.py
index 5880028..a61a11d 100644 (file)
@@ -260,7 +260,7 @@ class QemuUtils(object):
                   'mq=on,csum=off,gso=off,guest_tso4=off,guest_tso6=off,'
                   'guest_ecn=off,mrg_rxbuf={mbuf}{queue_size}'.
                   format(vhost_id=self._vhost_id, mac=mac,
-                         mbuf='on' if jumbo_frames else 'off',
+                         mbuf='on,host_mtu=9200' if jumbo_frames else 'off',
                          queue_size=queue_size))
         self._qemu_opt['options'] += device
         # Add interface MAC and socket to the node dict