Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
canghaiwuhen
OpenXG-RAN
Commits
69ae8c90
Commit
69ae8c90
authored
Mar 04, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add core setting on both RRC,S1AP task: RCC core1-4 RRU core5-8
parent
205c19f5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
11 deletions
+28
-11
openair2/ENB_APP/enb_app.c
openair2/ENB_APP/enb_app.c
+1
-1
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-0
openair2/X2AP/x2ap_eNB.c
openair2/X2AP/x2ap_eNB.c
+1
-1
openair3/GTPV1-U/gtpv1u_eNB.c
openair3/GTPV1-U/gtpv1u_eNB.c
+1
-1
openair3/S1AP/s1ap_eNB.c
openair3/S1AP/s1ap_eNB.c
+1
-1
openair3/SCTP/sctp_eNB_task.c
openair3/SCTP/sctp_eNB_task.c
+1
-1
openair3/UDP/udp_eNB_task.c
openair3/UDP/udp_eNB_task.c
+1
-1
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+3
-1
targets/RT/USER/rt_wrapper.c
targets/RT/USER/rt_wrapper.c
+18
-4
No files found.
openair2/ENB_APP/enb_app.c
View file @
69ae8c90
...
...
@@ -191,7 +191,7 @@ void *eNB_app_task(void *args_p)
int
result
;
/* for no gcc warnings */
(
void
)
instance
;
thread_top_init
(
"eNB_app_task"
,
1
,
500000
,
1000000
,
20000000
);
itti_mark_task_ready
(
TASK_ENB_APP
);
LOG_I
(
PHY
,
"%s() Task ready initialise structures
\n
"
,
__FUNCTION__
);
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
69ae8c90
...
...
@@ -6856,6 +6856,7 @@ rrc_enb_task(
)
//-----------------------------------------------------------------------------
{
thread_top_init
(
"rrc_enb_task"
,
1
,
500000
,
1000000
,
20000000
);
rrc_enb_init
();
itti_mark_task_ready
(
TASK_RRC_ENB
);
LOG_I
(
RRC
,
"Entering main loop of RRC message task
\n
"
);
...
...
openair2/X2AP/x2ap_eNB.c
View file @
69ae8c90
...
...
@@ -359,7 +359,7 @@ void *x2ap_task(void *arg) {
X2AP_DEBUG
(
"Starting X2AP layer
\n
"
);
x2ap_eNB_prepare_internal_data
();
itti_mark_task_ready
(
TASK_X2AP
);
thread_top_init
(
"x2ap_task"
,
1
,
500000
,
1000000
,
20000000
);
while
(
1
)
{
itti_receive_msg
(
TASK_X2AP
,
&
received_msg
);
...
...
openair3/GTPV1-U/gtpv1u_eNB.c
View file @
69ae8c90
...
...
@@ -1149,7 +1149,7 @@ void *gtpv1u_eNB_process_itti_msg(void *notUsed) {
void
*
gtpv1u_eNB_task
(
void
*
args
)
{
int
rc
=
0
;
thread_top_init
(
"gtpv1u_eNB_task"
,
1
,
500000
,
1000000
,
20000000
);
rc
=
gtpv1u_eNB_init
();
AssertFatal
(
rc
==
0
,
"gtpv1u_eNB_init Failed"
);
itti_mark_task_ready
(
TASK_GTPV1_U
);
...
...
openair3/S1AP/s1ap_eNB.c
View file @
69ae8c90
...
...
@@ -393,7 +393,7 @@ void *s1ap_eNB_process_itti_msg(void *notUsed) {
void
*
s1ap_eNB_task
(
void
*
arg
)
{
s1ap_eNB_init
();
thread_top_init
(
"s1ap_eNB_task"
,
1
,
500000
,
1000000
,
20000000
);
while
(
1
)
{
(
void
)
s1ap_eNB_process_itti_msg
(
NULL
);
}
...
...
openair3/SCTP/sctp_eNB_task.c
View file @
69ae8c90
...
...
@@ -1153,7 +1153,7 @@ void *sctp_eNB_process_itti_msg(void *notUsed)
void
*
sctp_eNB_task
(
void
*
arg
)
{
sctp_eNB_init
();
thread_top_init
(
"sctp_eNB_task"
,
1
,
500000
,
1000000
,
20000000
);
while
(
1
)
{
(
void
)
sctp_eNB_process_itti_msg
(
NULL
);
}
...
...
openair3/UDP/udp_eNB_task.c
View file @
69ae8c90
...
...
@@ -304,7 +304,7 @@ void *udp_eNB_task(void *args_p)
//const char *msg_name = NULL;
//instance_t instance = 0;
udp_enb_init
();
thread_top_init
(
"udp_eNB_task"
,
1
,
500000
,
1000000
,
20000000
);
itti_mark_task_ready
(
TASK_UDP
);
MSC_START_USE
();
...
...
targets/RT/USER/lte-enb.c
View file @
69ae8c90
...
...
@@ -946,7 +946,9 @@ void init_eNB_proc(int inst) {
LOG_I
(
PHY
,
"eNB->single_thread_flag:%d
\n
"
,
eNB
->
single_thread_flag
);
if
((
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_SPLIT
||
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_TRX_SPLIT
)
&&
nfapi_mode
!=
2
)
{
if
((
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_SPLIT
)
&&
nfapi_mode
!=
2
)
{
pthread_create
(
&
L1_proc
->
pthread
,
attr0
,
L1_thread
,
proc
);
}
else
if
((
get_thread_parallel_conf
()
==
PARALLEL_RU_L1_TRX_SPLIT
)
&&
nfapi_mode
!=
2
)
{
pthread_create
(
&
L1_proc
->
pthread
,
attr0
,
L1_thread
,
proc
);
pthread_create
(
&
L1_proc_tx
->
pthread
,
attr1
,
L1_thread_tx
,
proc
);
}
else
if
(
nfapi_mode
==
2
)
{
// this is neccesary in VNF or L2 FAPI simulator.
...
...
targets/RT/USER/rt_wrapper.c
View file @
69ae8c90
...
...
@@ -307,11 +307,25 @@ void thread_top_init(char *thread_name,
CPU_SET
(
0
,
&
cpuset
);
else
{
if
(
nfapi_mode
==
2
)
{
for
(
j
=
0
;
j
<
2
;
j
++
)
CPU_SET
(
j
,
&
cpuset
);
if
(
get_nprocs
()
>=
8
)
{
for
(
j
=
1
;
j
<
4
;
j
++
)
{
CPU_SET
(
j
,
&
cpuset
);
}
}
else
{
for
(
j
=
0
;
j
<
2
;
j
++
)
{
CPU_SET
(
j
,
&
cpuset
);
}
}
}
else
if
(
nfapi_mode
==
1
)
{
for
(
j
=
2
;
j
<
4
;
j
++
)
CPU_SET
(
j
,
&
cpuset
);
if
(
get_nprocs
()
>=
8
)
{
for
(
j
=
5
;
j
<
7
;
j
++
)
{
CPU_SET
(
j
,
&
cpuset
);
}
}
else
{
for
(
j
=
2
;
j
<
4
;
j
++
)
{
CPU_SET
(
j
,
&
cpuset
);
}
}
}
else
{
for
(
j
=
1
;
j
<
get_nprocs
();
j
++
)
CPU_SET
(
j
,
&
cpuset
);
...
...
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