Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UPF
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UPF
Commits
89b44013
Commit
89b44013
authored
Mar 08, 2021
by
wangyongshou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
del useless vpp_run.sh
parent
380d686d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
55 deletions
+0
-55
src/vppe/vpp_run.sh
src/vppe/vpp_run.sh
+0
-55
No files found.
src/vppe/vpp_run.sh
deleted
100755 → 0
View file @
380d686d
#!/bin/sh -x
#ifconfig enp2s0 down;
#ifconfig enp3s0 down;
#ifconfig enp5s0f0 down;
ifconfig enp1s0f0 down
;
ifconfig enp1s0f1 down
;
#/work/bupt_oai/NEV_SDK.L.0.3.0-60/download/dpdk-19.08/usertools/dpdk-devbind.py -u 0000:05:00.0
/work96/bupt_oai/NEV_SDK.L.0.3.0-60/download/dpdk-19.08/usertools/dpdk-devbind.py
-u
0000:01:00.0
/work96/bupt_oai/NEV_SDK.L.0.3.0-60/download/dpdk-19.08/usertools/dpdk-devbind.py
-u
0000:01:00.1
#/mnt/usb/dpdk-19.08/usertools/dpdk-devbind.py -u 0000:04:00.0
#./ip_link.sh_bak
if
[
$(
id
-u
)
-ne
0
]
;
then
exec sudo
-E
"
$0
"
"
$@
"
fi
#base=$(dirname $0)
base
=
$(
cd
$(
dirname
$0
)
;
pwd
)
APP
=
"
$base
/build-root/install-vpp_debug-native/vpp/bin/vpp"
ARGS
=
"-c
$base
/startup_debug.conf"
USAGE
=
"Usage: run.sh [-r] [ debug ]
debug: executes vpp under gdb"
while
getopts
":r"
opt
;
do
case
$opt
in
r
)
APP
=
"
$base
/build-root/install-vpp-native/vpp/bin/vpp"
ARGS
=
"-c
$base
/startup.conf"
;;
\?
)
echo
"Invalid option: -
$OPTARG
\n
"
>
&2
echo
"
$USAGE
"
>
&2
exit
1
;;
esac
done
shift
$((
OPTIND-1
))
if
test
-z
"
$1
"
;
then
$APP
$ARGS
elif
test
"
$1
"
=
"debug"
;
then
shift
gdb
-ex
'set print pretty on'
-ex
'run'
--args
$APP
$ARGS
$@
else
echo
"
$USAGE
"
>
&2
exit
1
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment