Skip to content

Instantly share code, notes, and snippets.

@alanbriolat
Last active August 16, 2017 15:08

Revisions

  1. alanbriolat created this gist Aug 16, 2017.
    8 changes: 8 additions & 0 deletions usb-offload
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    #!/bin/sh

    ETHTOOL=/sbin/ethtool

    [ "$IFACE" = "enx8cae4cf49551" ] || exit 0

    # Disable RX checksum offloading, because it doesn't work
    $ETHTOOL --offload "$IFACE" rx off