Skip to content

Instantly share code, notes, and snippets.

@antonvine
Created February 3, 2016 17:43
Show Gist options
  • Save antonvine/fa8cb1a78ecb0cfdb703 to your computer and use it in GitHub Desktop.
Save antonvine/fa8cb1a78ecb0cfdb703 to your computer and use it in GitHub Desktop.
Intell ixgbevf driver installation for Amazon Enhanced Networking
sudo apt-get update && sudo apt-get upgrade -y
sudo apt-get install build-essential dkms
wget "http://sourceforge.net/projects/e1000/files/ixgbevf stable/3.1.2/ixgbevf-3.1.2.tar.gz"
tar -xzf ixgbevf-3.1.2.tar.gz
sudo mv ixgbevf-3.1.2 /usr/src
sudo cat<<EOH > /usr/src/ixgbevf-3.1.2/dkms.conf
PACKAGE_NAME="ixgbevf"
PACKAGE_VERSION="3.1.2"
CLEAN="cd src/; make clean"
MAKE="cd src/; make BUILD_KERNEL=${kernelver}"
BUILT_MODULE_LOCATION[0]="src/"
BUILT_MODULE_NAME[0]="ixgbevf"
DEST_MODULE_LOCATION[0]="/updates"
DEST_MODULE_NAME[0]="ixgbevf"
AUTOINSTALL="yes"
EOH
sudo dkms add -m ixgbevf -v 3.1.2 -k ${kernelver}
sudo dkms build -m ixgbevf -v 3.1.2 -k ${kernelver}
sudo dkms install -m ixgbevf -v 3.1.2 -k ${kernelver}
echo "options ixgbevf InterruptThrottleRate=1,1,1,1,1,1,1,1" > /etc/modprobe.d/ixgbevf.conf
sudo update-initramfs -c -k all
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment