mirror of
git://code.qt.io/qt/qt5.git
synced 2026-01-04 14:07:42 +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>
7 lines
275 B
Bash
7 lines
275 B
Bash
#!/bin/sh
|
|
|
|
sudo mkdir /etc/wicked/scripts
|
|
echo "ethtool -K \$2 tso off" | sudo tee -a /etc/wicked/scripts/net_tso_off
|
|
sudo chmod 744 /etc/wicked/scripts/net_tso_off
|
|
echo "PRE_UP_SCRIPT='wicked:/etc/wicked/scripts/net_tso_off'" | sudo tee -a /etc/sysconfig/network/ifcfg-eth0
|