Commit 0f406e4e authored by Florian Kaltenberger's avatar Florian Kaltenberger

debug info

parent 27ac76c4
...@@ -670,6 +670,7 @@ int nvIPC_Init(char* if_name) { ...@@ -670,6 +670,7 @@ int nvIPC_Init(char* if_name) {
// Want to use transport SHM, type epoll, module secondary (reads the created shm from cuphycontroller) // Want to use transport SHM, type epoll, module secondary (reads the created shm from cuphycontroller)
load_hard_code_config(&nv_ipc_config, NV_IPC_MODULE_SECONDARY, NV_IPC_TRANSPORT_SHM); load_hard_code_config(&nv_ipc_config, NV_IPC_MODULE_SECONDARY, NV_IPC_TRANSPORT_SHM);
// Create nv_ipc_t instance // Create nv_ipc_t instance
LOG_I(NFAPI_VNF, "%s: creatinf IPC interface with prefix %s\n", __func__, if_name);
strcpy(nv_ipc_config.transport_config.shm.prefix,if_name); strcpy(nv_ipc_config.transport_config.shm.prefix,if_name);
if ((ipc = create_nv_ipc_interface(&nv_ipc_config)) == NULL) { if ((ipc = create_nv_ipc_interface(&nv_ipc_config)) == NULL) {
LOG_E(NFAPI_VNF, "%s: create IPC interface failed\n", __func__); LOG_E(NFAPI_VNF, "%s: create IPC interface failed\n", __func__);
......
...@@ -1307,10 +1307,10 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg) ...@@ -1307,10 +1307,10 @@ void RCconfig_nr_macrlc(configmodule_interface_t *cfg)
printf("**************** RETURNED FROM configure_nfapi_vnf() vnf_port:%d\n", RC.nrmac[j]->eth_params_s.my_portc); printf("**************** RETURNED FROM configure_nfapi_vnf() vnf_port:%d\n", RC.nrmac[j]->eth_params_s.my_portc);
} else if(strcmp(*(MacRLC_ParamList.paramarray[j][MACRLC_TRANSPORT_S_PREFERENCE_IDX].strptr), "aerial") == 0){ } else if(strcmp(*(MacRLC_ParamList.paramarray[j][MACRLC_TRANSPORT_S_PREFERENCE_IDX].strptr), "aerial") == 0){
#ifdef ENABLE_AERIAL #ifdef ENABLE_AERIAL
printf("Configuring VNF for Aerial connection\n");
// we are abusing slightly the struture as we are not really using ethernet transport in this case // we are abusing slightly the struture as we are not really using ethernet transport in this case
RC.nrmac[j]->eth_params_s.transp_preference = FAPI_AERIAL; RC.nrmac[j]->eth_params_s.transp_preference = FAPI_AERIAL;
RC.nrmac[j]->eth_params_s.local_if_name = strdup(*(MacRLC_ParamList.paramarray[j][MACRLC_TRANSPORT_S_SHM_PREFIX].strptr)); RC.nrmac[j]->eth_params_s.local_if_name = strdup(*(MacRLC_ParamList.paramarray[j][MACRLC_TRANSPORT_S_SHM_PREFIX].strptr));
printf("Configuring VNF for Aerial connection with prefix %s\n",RC.nrmac[j]->eth_params_s.local_if_name);
aerial_configure_nr_fapi_vnf(); aerial_configure_nr_fapi_vnf();
#endif #endif
} else { // other midhaul } else { // other midhaul
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment