Skip to content
Snippets Groups Projects
Commit 9badcf74 authored by Peter Cai's avatar Peter Cai
Browse files

Make NIC configurable

parent 02147f48
No related branches found
No related tags found
No related merge requests found
NET_IF=eno3d1
NET_IF_MOD=mlx4
......@@ -5,14 +5,16 @@ function error() {
exit 1
}
source $EXP_ROOT/configs/nic.sh
cfgfile=$HOME/.irq.sh.config
cntfile=$HOME/.irq.sh.count
# use tilly01 as default...
if ! [ -f $cfgfile ]; then
cat > $cfgfile <<EOF
mod: mlx4
nic: eno3d1
mod: $NET_IF_MOD
nic: $NET_IF
EOF
echo -n "async irq:" >> $cfgfile
echo -n " 69" >> $cfgfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment