Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Make mtcp-dpdk installation script more usable.
- Updated README.netmap guideline.
- Loading branch information
Showing
4 changed files
with
124 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
GREEN='\033[0;32m' | ||
NC='\033[0m' | ||
|
||
# Get to script directory | ||
cd $(dirname ${BASH_SOURCE[0]})/ | ||
|
||
# Remove dpdk_iface.ko module | ||
export RTE_SDK=$PWD/dpdk | ||
printf "${GREEN}Removing dpdk_iface module...\n $NC" | ||
if lsmod | grep dpdk_iface &> /dev/null ; then | ||
sudo rmmod dpdk_iface.ko | ||
else | ||
: | ||
fi | ||
|
||
# Compile dpdk and configure system | ||
bash $RTE_SDK/usertools/dpdk-setup.sh | ||
|
||
printf "${GREEN}Goodbye!$NC\n" | ||
|