Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
netstack-exp
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Cai
netstack-exp
Commits
9badcf74
Commit
9badcf74
authored
2 years ago
by
Peter Cai
Browse files
Options
Downloads
Patches
Plain Diff
Make NIC configurable
parent
02147f48
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configs/nic.sh
+2
-0
2 additions, 0 deletions
configs/nic.sh
irq.sh
+4
-2
4 additions, 2 deletions
irq.sh
with
6 additions
and
2 deletions
configs/nic.sh
0 → 100644
+
2
−
0
View file @
9badcf74
NET_IF
=
eno3d1
NET_IF_MOD
=
mlx4
This diff is collapsed.
Click to expand it.
irq.sh
+
4
−
2
View file @
9badcf74
...
@@ -5,14 +5,16 @@ function error() {
...
@@ -5,14 +5,16 @@ function error() {
exit
1
exit
1
}
}
source
$EXP_ROOT
/configs/nic.sh
cfgfile
=
$HOME
/.irq.sh.config
cfgfile
=
$HOME
/.irq.sh.config
cntfile
=
$HOME
/.irq.sh.count
cntfile
=
$HOME
/.irq.sh.count
# use tilly01 as default...
# use tilly01 as default...
if
!
[
-f
$cfgfile
]
;
then
if
!
[
-f
$cfgfile
]
;
then
cat
>
$cfgfile
<<
EOF
cat
>
$cfgfile
<<
EOF
mod:
mlx4
mod:
$NET_IF_MOD
nic:
eno3d1
nic:
$NET_IF
EOF
EOF
echo
-n
"async irq:"
>>
$cfgfile
echo
-n
"async irq:"
>>
$cfgfile
echo
-n
" 69"
>>
$cfgfile
echo
-n
" 69"
>>
$cfgfile
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment