o-du/phy
Intel O-RAN/X-RAN Generated Doxygen Documentation
Data Structures | Functions | Variables
c_plane_tests.cc File Reference
#include "common.hpp"
#include "xran_lib_wrap.hpp"
#include "xran_common.h"
#include "xran_fh_o_du.h"
#include "ethdi.h"
#include "ethernet.h"
#include "xran_transport.h"
#include "xran_cp_api.h"
#include <stdint.h>
Include dependency graph for c_plane_tests.cc:

Go to the source code of this file.

Data Structures

class  C_plane
 

Functions

int xran_ut_prepare_cp (struct rte_mbuf *mbuf, struct xran_cp_gen_params *params, uint8_t cc_id, uint8_t ant_id, uint8_t seq_id)
 
void cput_fh_rx_callback (void *pCallbackTag, xran_status_t status)
 
void cput_fh_rx_prach_callback (void *pCallbackTag, xran_status_t status)
 
 TEST_P (C_plane, Section_Ext1)
 
 TEST_P (C_plane, Section_Ext1_9bit)
 
 TEST_P (C_plane, PacketGen)
 
 TEST_P (C_plane, PacketGen_Ext)
 
 TEST_P (C_plane, Perf)
 
 TEST_P (C_plane, Perf_Ext)
 
 INSTANTIATE_TEST_CASE_P (UnitTest, C_plane, testing::ValuesIn(get_sequence(C_plane::get_number_of_cases("C_Plane"))))
 

Variables

const std::string module_name = "C-Plane"
 
const uint8_t m_bitmask [] = { 0x00, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }
 

Function Documentation

◆ cput_fh_rx_callback()

void cput_fh_rx_callback ( void *  pCallbackTag,
xran_status_t  status 
)

Definition at line 48 of file c_plane_tests.cc.

◆ cput_fh_rx_prach_callback()

void cput_fh_rx_prach_callback ( void *  pCallbackTag,
xran_status_t  status 
)

Definition at line 53 of file c_plane_tests.cc.

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( UnitTest  ,
C_plane  ,
testing::ValuesIn(get_sequence(C_plane::get_number_of_cases("C_Plane")))   
)
Here is the caller graph for this function:

◆ TEST_P() [1/6]

TEST_P ( C_plane  ,
Section_Ext1   
)

Definition at line 566 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ TEST_P() [2/6]

TEST_P ( C_plane  ,
Section_Ext1_9bit   
)

Definition at line 642 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ TEST_P() [3/6]

TEST_P ( C_plane  ,
PacketGen   
)

Definition at line 721 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ TEST_P() [4/6]

TEST_P ( C_plane  ,
PacketGen_Ext   
)

Definition at line 742 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ TEST_P() [5/6]

TEST_P ( C_plane  ,
Perf   
)

Definition at line 766 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ TEST_P() [6/6]

TEST_P ( C_plane  ,
Perf_Ext   
)

Definition at line 778 of file c_plane_tests.cc.

Here is the call graph for this function:

◆ xran_ut_prepare_cp()

int xran_ut_prepare_cp ( struct rte_mbuf *  mbuf,
struct xran_cp_gen_params params,
uint8_t  cc_id,
uint8_t  ant_id,
uint8_t  seq_id 
)

Definition at line 40 of file c_plane_tests.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ m_bitmask

const uint8_t m_bitmask[] = { 0x00, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff }

Definition at line 34 of file c_plane_tests.cc.

◆ module_name

const std::string module_name = "C-Plane"

Definition at line 32 of file c_plane_tests.cc.