Ignore:
Timestamp:
Jan 27, 2009, 1:36:50 AM (16 years ago)
Author:
broder
Message:

Turn off transmission segmentation offloading instead of tx checksum
offloading

Location:
trunk/packages/invirt-autoinstaller
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/98-fix-eth-checksums

    r2007 r2019  
    2020installDebianPackage ${prefix} ethtool
    2121
    22 sed -i'' -e 's/\(\s*\)# post-up/\1post-up/' ${prefix}/etc/network/interfaces
     22if ! sed -i -e 's/^\(\s*\)#\s*post-up\s\+ethtool/\1post-up ethtool -K eth0 tso off\n\0/' ${prefix}/etc/network/interfaces; then
     23    echo "ERROR: unable to disable network segmentation offloading"
     24    exit 1
     25fi
    2326
    2427#
  • trunk/packages/invirt-autoinstaller/debian/changelog

    r2018 r2019  
    22
    33  * Add a script to update the autoinstaller disk from a host.
     4  * Use a more stringent regexp and fail loudly if the match fails.
     5  * Turn off transmission segmentation offloading instead of tx checksum
     6    offloading
    47
    5  -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 19:47:47 -0500
     8 -- Evan Broder <broder@mit.edu>  Mon, 26 Jan 2009 20:57:09 -0500
    69
    710invirt-autoinstaller (0.0.6) unstable; urgency=low
Note: See TracChangeset for help on using the changeset viewer.