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
ec312186
Commit
ec312186
authored
Jul 14, 2021
by
wangyongshou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add upf.conf
parent
465800ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
4 deletions
+91
-4
etc/template/upf.conf
etc/template/upf.conf
+87
-0
scripts/build_upf.sh
scripts/build_upf.sh
+4
-4
No files found.
etc/template/upf.conf
0 → 100755
View file @
ec312186
unix
{
nodaemon
log
/
var
/
log
/
upf
/
vpp
/
vpp
.
log
full
-
coredump
interactive
gid
vpp
cli
-
listen
/
run
/
vpp
/
cli
.
sock
logsize
100
}
api
-
trace
{
on
}
api
-
segment
{
gid
vpp
}
logging
{
default
-
log
-
level
info
default
-
syslog
-
log
-
level
info
}
statseg
{
default
per
-
node
-
counters
on
}
cpu
{
main
-
core
@
MAINCORE
@
corelist
-
workers
@
WORKERCORE
@
scheduler
-
policy
fifo
scheduler
-
priority
50
}
#buffers {
#buffers-per-numa 128000
#Default is 2048
#}
dpdk
{
dev
default
{
num
-
rx
-
queues
1
}
dev
@
PCI_ADDR_ID_ENTRY
@
{
name
if_n3
num
-
rx
-
queues
2
num
-
tx
-
queues
1
ipaddr
@
N3_IP
@
netmask
32
gateway
@
N3_GW
@
}
dev
@
PCI_ADDR_ID_EXPORT
@
{
name
if_n6
num
-
rx
-
queues
1
ipaddr
@
N6_IP
@
netmask
32
gateway
@
VPPHOST_IP
@
}
uio
-
driver
vfio
-
pci
no
-
multi
-
seg
socket
-
mem
2048
,
2048
no
-
tx
-
checksum
-
offload
}
nat
{
endpoint
-
dependent
}
heapsize
2
G
plugins
{
path
/
usr
/
lib
/
x86_64
-
linux
-
gnu
/
vpp_plugins
plugin
default
{
enable
}
plugin
dpdk_plugin
.
so
{
enable
}
plugin
gtpu_plugin
.
so
{
enable
}
plugin
upf_plugin
.
so
{
enable
}
}
scripts/build_upf.sh
View file @
ec312186
...
...
@@ -82,11 +82,11 @@ function make_vpp_package()
then
cd
$VPPPATH
;
./pre_install.sh
>
/dev/null 2>&1
;
echo
"pre install vppe
finished!!!
"
echo
"pre install vppe"
make rebuild
>
/dev/null 2>&1
;
echo
"build vppe
finished!!!
"
echo
"build vppe"
make pkg-deb-debug
>
/dev/null 2>&1
;
echo
"pkg vppe
finished!!!
"
echo
"pkg vppe"
cd
..
;
elif
[
$1
=
"release"
]
then
...
...
@@ -120,7 +120,7 @@ function make_vpp_package()
cp
-f
$VPPINSTALL
/
$PKG_NAME
$UPFINSTALL
/pkg
echo
"pkg buptvppe.tar.gz
finished!!!
"
echo
"pkg buptvppe.tar.gz"
#clear
find
$VPPPATH
/
${
BUILD_ROOT
}
/
-name
'*.c'
-type
f
-print
-exec
rm
-rf
{}
\
>
/dev/null 2>&1
;
...
...
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