mirror of
git://code.qt.io/qt/qt5.git
synced 2026-04-04 04:36:36 +08:00
LSO/TSO causes problems handling network packets and deteriorates the
network speed to below 1MB/s.
Task-number: QTQAINFRA-4241
Change-Id: Ib999035668eefe51d59715c9a18f42c9e3dfdf21
Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
(cherry picked from commit db7926c715)
Reviewed-by: Heikki Halmet <heikki.halmet@qt.io>
5 lines
190 B
Bash
5 lines
190 B
Bash
#!/bin/sh
|
|
|
|
echo "ethtool -K \${DEVICE_IFACE} tso off" | sudo tee -a /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
|
|
sudo chmod +x /etc/NetworkManager/dispatcher.d/pre-up.d/net_tso_off
|