Quellcode durchsuchen

network: disable tx csum offload on vif interfaces

It doesn't work with HVMs - more precisely with (ancient) qemu in
stubdomain.
Marek Marczykowski-Górecki vor 9 Jahren
Ursprung
Commit
4e44008607
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 2 0
      network/vif-route-qubes

+ 2 - 0
network/vif-route-qubes

@@ -63,5 +63,7 @@ fi
 log debug "Successful vif-route-qubes $command for $vif."
 if [ "$command" = "online" ]
 then
+  # disable tx checksumming offload, apparently it doesn't work with our ancient qemu in stubdom
+  do_without_error ethtool -K $vif tx off
   success
 fi