Code Review
/
o-du
/
phy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
O-RAN E Maintenance Release contribution for ODULOW
[o-du/phy.git]
/
fhi_lib
/
test
/
test_xran
/
prach_performance.cc
diff --git
a/fhi_lib/test/test_xran/prach_performance.cc
b/fhi_lib/test/test_xran/prach_performance.cc
index
659950c
..
f5f5a7e
100644
(file)
--- a/
fhi_lib/test/test_xran/prach_performance.cc
+++ b/
fhi_lib/test/test_xran/prach_performance.cc
@@
-1,6
+1,6
@@
/******************************************************************************
*
/******************************************************************************
*
-* Copyright (c) 20
19
Intel.
+* Copyright (c) 20
20
Intel.
*
* 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.
@@
-177,16
+177,16
@@
void performance_cp(void *pHandle,struct xran_cp_gen_params *params, struct xran
mbuf = (struct rte_mbuf*)rte_pktmbuf_alloc(_eth_mbuf_pool);
mbuf = (struct rte_mbuf*)rte_pktmbuf_alloc(_eth_mbuf_pool);
- generate_cpmsg_prach(p
Handle
, params, sect_geninfo, mbuf, pxran_lib_ctx,
+ generate_cpmsg_prach(p
xran_lib_ctx
, params, sect_geninfo, mbuf, pxran_lib_ctx,
frame_id, subframe_id, slot_id,
frame_id, subframe_id, slot_id,
- beam_id, cc_id, prach_port_id, seq_id);
+ beam_id, cc_id, prach_port_id,
0,
seq_id);
seq_id++;
rte_pktmbuf_free(mbuf);
}
seq_id++;
rte_pktmbuf_free(mbuf);
}
-TEST_P(PrachPerf, PacketGen)//TestCaseName TestName
+TEST_P(PrachPerf, P
rachPerfP
acketGen)//TestCaseName TestName
{
int ret;
void *pHandle = NULL;
{
int ret;
void *pHandle = NULL;
@@
-196,9
+196,9
@@
TEST_P(PrachPerf, PacketGen)//TestCaseName TestName
ASSERT_TRUE(ret == XRAN_STATUS_SUCCESS);
ASSERT_TRUE(ret == XRAN_STATUS_SUCCESS);
- ret = generate_cpmsg_prach(
pHandle
, &m_params, m_pSectGenInfo, m_pTestBuffer, &m_xran_dev_ctx,
+ ret = generate_cpmsg_prach(
&m_xran_dev_ctx
, &m_params, m_pSectGenInfo, m_pTestBuffer, &m_xran_dev_ctx,
m_frameId, m_subframeId, m_slotId,
m_frameId, m_subframeId, m_slotId,
- m_beamId, m_ccId, m_antId, 0);
+ m_beamId, m_ccId, m_antId, 0
, 0
);
ASSERT_TRUE(ret == XRAN_STATUS_SUCCESS);
ASSERT_TRUE(ret == XRAN_STATUS_SUCCESS);