Sfoglia il codice sorgente

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 9 anni fa
parent
commit
4e44008607
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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."
 log debug "Successful vif-route-qubes $command for $vif."
 if [ "$command" = "online" ]
 if [ "$command" = "online" ]
 then
 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
   success
 fi
 fi