Created
November 11, 2015 06:13
-
-
Save identityclash/c085be672d28cdc4ffe4 to your computer and use it in GitHub Desktop.
ixgbevf 2.16.1 upgrade for AWS EC2 SR-IOV "Enhanced Networking" on Ubuntu 14.04 (Trusty) LTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh ubuntu@n.n.n.n "bash -s -x" -- <ixgbevf-upgrade.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # https://gist.github.com/CBarraford/8850424 | |
| mkdir work | |
| cd work | |
| wget http://sourceforge.net/projects/e1000/files/ixgbevf%20stable/2.16.1/ixgbevf-2.16.1.tar.gz | |
| tar zxf ixgbevf-2.16.1.tar.gz | |
| # https://gist.github.com/defila-aws/44946d3a3c0874fe3d17 | |
| curl -L -O https://gist.github.com/defila-aws/44946d3a3c0874fe3d17/raw/af64c3c589811a0d214059d1e4fd220a96eaebb3/patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch | |
| cd ixgbevf-2.16.1/src | |
| patch -p5 <../../patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch | |
| sudo su | |
| aptitude install -y build-essential | |
| make install | |
| modprobe ixgbevf | |
| update-initramfs -c -k all | |
| echo "options ixgbevf InterruptThrottleRate=1,1,1,1,1,1,1,1" > /etc/modprobe.d/ixgbevf.conf | |
| cd ../../.. | |
| rm -Rf work | |
| reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment