Merge remote-tracking branch 'origin/fapi-wls-integration' into integration_2025_w29 (!3346)
Add WLS as a transport option for VNF/PNF, refactor existing options This MR adds a new transport mechanism for the VNF and PNF split, using the Intel WLS library, which makes use of DPDK and shared memory to transport messages. This transport mechanism is what is used to interface with Radisys ODU, while also working with OAI VNF/PNF. The VNF and PNF have been refactored so that the transport-specific functions are isolated from the rest of the logic, and as such, interchangeable by means of function pointers. The same change is done for the packing/unpacking procedures, allowing to switch between FAPI and nFAPI encoding. This MR also reduces the amount of duplicated code, by refactoring the VNF with Aerial, which now only has the transport-relevant functions, as well as the ones that are unique to it ( for example, the unpacking procedures where a secondary data buffer is used for the message payloads ) Additionally a new callback is added to the VNF to process ERROR.indication messages, which currently only indicates which message originated the error, and which error occurred.
This commit is contained in:
@@ -112,20 +112,20 @@ int32_t get_uldl_offset(int nr_bandP)
|
||||
void configure_nr_nfapi_pnf(char *vnf_ip_addr, int vnf_p5_port, char *pnf_ip_addr, int pnf_p7_port, int vnf_p7_port)
|
||||
{
|
||||
}
|
||||
void configure_nr_nfapi_vnf(char *vnf_addr, int vnf_p5_port, char *pnf_ip_addr, int pnf_p7_port, int vnf_p7_port)
|
||||
void configure_nr_nfapi_vnf(eth_params_t params)
|
||||
{
|
||||
}
|
||||
int nfapi_nr_p7_message_pack(void *pMessageBuf, void *pPackedBuf, uint32_t packedBufLen, nfapi_p7_codec_config_t *config)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
int nfapi_nr_p7_message_unpack(void *pMessageBuf,
|
||||
bool nfapi_nr_p7_message_unpack(void *pMessageBuf,
|
||||
uint32_t messageBufLen,
|
||||
void *pUnpackedBuf,
|
||||
uint32_t unpackedBufLen,
|
||||
nfapi_p7_codec_config_t *config)
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
int nfapi_p7_message_header_unpack(void *pMessageBuf,
|
||||
uint32_t messageBufLen,
|
||||
|
||||
Reference in New Issue
Block a user