Modify not to use initializations of usual test in L2 FAPI simulator.
This commit is contained in:
@@ -1049,7 +1049,7 @@ if (nfapi_mode==2) {// VNF
|
|||||||
|
|
||||||
number_of_cards = 1;
|
number_of_cards = 1;
|
||||||
printf("RC.nb_L1_inst:%d\n", RC.nb_L1_inst);
|
printf("RC.nb_L1_inst:%d\n", RC.nb_L1_inst);
|
||||||
if (RC.nb_L1_inst > 0) {
|
if (RC.nb_L1_inst > 0 && nfapi_mode != 2) {
|
||||||
printf("Initializing eNB threads single_thread_flag:%d wait_for_sync:%d\n", single_thread_flag,wait_for_sync);
|
printf("Initializing eNB threads single_thread_flag:%d wait_for_sync:%d\n", single_thread_flag,wait_for_sync);
|
||||||
init_eNB(single_thread_flag,wait_for_sync);
|
init_eNB(single_thread_flag,wait_for_sync);
|
||||||
// for (inst=0;inst<RC.nb_L1_inst;inst++)
|
// for (inst=0;inst<RC.nb_L1_inst;inst++)
|
||||||
@@ -1060,7 +1060,7 @@ if (nfapi_mode==2) {// VNF
|
|||||||
wait_eNBs();
|
wait_eNBs();
|
||||||
|
|
||||||
printf("About to Init RU threads RC.nb_RU:%d\n", RC.nb_RU);
|
printf("About to Init RU threads RC.nb_RU:%d\n", RC.nb_RU);
|
||||||
if (RC.nb_RU >0) {
|
if (RC.nb_RU >0 && nfapi_mode != 2) {
|
||||||
printf("Initializing RU threads\n");
|
printf("Initializing RU threads\n");
|
||||||
init_RU(rf_config_file);
|
init_RU(rf_config_file);
|
||||||
for (ru_id=0;ru_id<RC.nb_RU;ru_id++) {
|
for (ru_id=0;ru_id<RC.nb_RU;ru_id++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user