*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
void tx_cp_dl_cb(struct rte_timer *tim, void *arg);
void tx_cp_ul_cb(struct rte_timer *tim, void *arg);
int xran_process_tx_sym(void *arg);
void tx_cp_dl_cb(struct rte_timer *tim, void *arg);
void tx_cp_ul_cb(struct rte_timer *tim, void *arg);
int xran_process_tx_sym(void *arg);
/* C-Plane DL chain (tx_cp_dl_cb) only */
TEST_P(TestChain, CPlaneDLPerf)
{
/* C-Plane DL chain (tx_cp_dl_cb) only */
TEST_P(TestChain, CPlaneDLPerf)
{
- xranlib->Init(&m_xranConf);
- xranlib->Open(send_mbuf_cp_perf, send_mbuf_up,
+ xranlib->Init(0, &m_xranConf);
+ xranlib->Open(0, send_mbuf_cp_perf, send_mbuf_up,
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cp_dl);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cp_dl);
/* C-Plane UL chain (tx_cp_ul_cb) only */
TEST_P(TestChain, CPlaneULPerf)
{
/* C-Plane UL chain (tx_cp_ul_cb) only */
TEST_P(TestChain, CPlaneULPerf)
{
- xranlib->Init(&m_xranConf);
- xranlib->Open(send_mbuf_cp_perf, send_mbuf_up,
+ xranlib->Init(0, &m_xranConf);
+ xranlib->Open(0, send_mbuf_cp_perf, send_mbuf_up,
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cp_ul);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cp_ul);
/* save current CP enable flag */
flag_cpen = xranlib->is_cpenable()?true:false;
/* need to disable CP to make U-Plane work without CP */
xranlib->apply_cpenable(false);
/* save current CP enable flag */
flag_cpen = xranlib->is_cpenable()?true:false;
/* need to disable CP to make U-Plane work without CP */
xranlib->apply_cpenable(false);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_up_dl);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_up_dl);
/* save current CP enable flag */
flag_cpen = xranlib->is_cpenable()?true:false;
/* Enable CP by force to make UP work by CP's section information */
xranlib->apply_cpenable(true);
/* save current CP enable flag */
flag_cpen = xranlib->is_cpenable()?true:false;
/* Enable CP by force to make UP work by CP's section information */
xranlib->apply_cpenable(true);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cpup_dl);
(void *)utcp_fh_rx_callback, (void *)utcp_fh_rx_prach_callback, (void *)utcp_fh_srs_callback);
performance("C", module_name, xran_ut_tx_cpup_dl);