Skip to content

Instantly share code, notes, and snippets.

@lazerl0rd
Created October 9, 2023 23:00
Show Gist options
  • Save lazerl0rd/5dafa1103ec3a1570b5a2722028d22a3 to your computer and use it in GitHub Desktop.
Save lazerl0rd/5dafa1103ec3a1570b5a2722028d22a3 to your computer and use it in GitHub Desktop.
#! /usr/bin/env bash
features=("rx" "tx" "sg" "tso" "ufo" "gso" "gro" "lro" "rxvlan" "txvlan" "ntuple" "rxhash" "rx-udp-gro-forwarding")
for i in "${features[@]}"; do
ethtool -K "$1" "$i" on
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment