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
920dd4ec
Commit
920dd4ec
authored
Aug 13, 2021
by
wangys
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify dpdk netcard
parent
186d30ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
20 deletions
+11
-20
scripts/build_upf.sh
scripts/build_upf.sh
+2
-2
scripts/install_upf.sh
scripts/install_upf.sh
+7
-18
src/vppe/src/vpp/conf/startup.conf
src/vppe/src/vpp/conf/startup.conf
+2
-0
No files found.
scripts/build_upf.sh
View file @
920dd4ec
...
@@ -165,8 +165,8 @@ function make_vpp_package()
...
@@ -165,8 +165,8 @@ function make_vpp_package()
rm
-rf
${
BUILD_ROOT
}
/.ccache
;
rm
-rf
${
BUILD_ROOT
}
/.ccache
;
mkdir
-p
vppe_install
mkdir
-p
vppe_install
cp
-rf
${
BUILD_ROOT
}
/
*
vppe_install
cp
-rf
${
BUILD_ROOT
}
/
*
.deb
vppe_install
sudo tar
-zcvf
$VPPE_NAME
vppe_install/
*
>
/dev/null 2>&1
;
sudo tar
-zcvf
$VPPE_NAME
vppe_install/
*
.deb
>
/dev/null 2>&1
;
sudo mv
$VPPPATH
/
$VPPE_NAME
$VPPINSTALL
sudo mv
$VPPPATH
/
$VPPE_NAME
$VPPINSTALL
...
...
scripts/install_upf.sh
View file @
920dd4ec
...
@@ -62,8 +62,8 @@ function install_bupt_n4()
...
@@ -62,8 +62,8 @@ function install_bupt_n4()
tar
-zxvf
$base
/pkg/bupt_n4.tar.gz
-C
$base
/pkg
>
/dev/null 2>&1
;
tar
-zxvf
$base
/pkg/bupt_n4.tar.gz
-C
$base
/pkg
>
/dev/null 2>&1
;
mv
$base
/pkg/n4/main /
$ROOT_PATH
/bin
;
mv
$base
/pkg/n4/main /
$ROOT_PATH
/bin
;
rm
-rf
$base
/pkg/n4
;
#
rm -rf $base/pkg/n4 ;
rm
-rf
$base
/pkg/bupt_n4.tar.gz
;
#
rm -rf $base/pkg/bupt_n4.tar.gz;
echo
"install bupt_n4 finished"
echo
"install bupt_n4 finished"
}
}
...
@@ -82,25 +82,14 @@ function install_bupt_vppe ()
...
@@ -82,25 +82,14 @@ function install_bupt_vppe ()
#install
#install
echo
"install bupt_vppe start..."
echo
"install bupt_vppe start..."
apt
--fix-broken
install
apt autoremove
cd
$base
/pkg/vppe_install
cd
$base
/pkg/vppe_install
dpkg
-i
-O
-E
-G
-B
*
.deb
systemctl stop vpp
>
/dev/null 2>&1
;
systemctl disable vpp
>
/dev/null 2>&1
;
apt
--fix-broken
install
apt
--fix-broken
install
apt autoremove
apt autoremove
dpkg
-i
*
.deb
systemctl stop vpp
>
/dev/null 2>&1
;
systemctl disable vpp
>
/dev/null 2>&1
;
dpkg
-i
-O
-E
-G
-B
*
.deb
#dpkg -i -O -E -G -B *.deb
dpkg
-i
*
.deb
systemctl stop vpp
>
/dev/null 2>&1
;
systemctl stop vpp
>
/dev/null 2>&1
;
systemctl disable vpp
>
/dev/null 2>&1
;
systemctl disable vpp
>
/dev/null 2>&1
;
...
@@ -117,8 +106,8 @@ function install_bupt_vppe ()
...
@@ -117,8 +106,8 @@ function install_bupt_vppe ()
cd
..
cd
..
#rm install package
#rm install package
rm
-rf
$base
/pkg/vppe_install
;
#
rm -rf $base/pkg/vppe_install;
rm
-rf
$base
/pkg/bupt_vppe.tar.gz
;
#
rm -rf $base/pkg/bupt_vppe.tar.gz;
cp
-f
/usr/bin/vpp /
$ROOT_PATH
/bin
;
cp
-f
/usr/bin/vpp /
$ROOT_PATH
/bin
;
...
...
src/vppe/src/vpp/conf/startup.conf
View file @
920dd4ec
...
@@ -138,6 +138,8 @@ cpu {
...
@@ -138,6 +138,8 @@ cpu {
## disables Jumbo MTU support
## disables Jumbo MTU support
# no-multi-seg
# no-multi-seg
no
-
pci
## Change hugepages allocation per-socket, needed only if there is need for
## Change hugepages allocation per-socket, needed only if there is need for
## larger number of mbufs. Default is 256M on each detected CPU socket
## larger number of mbufs. Default is 256M on each detected CPU socket
# socket-mem 2048,2048
# socket-mem 2048,2048
...
...
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