Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lizhongxiao
OpenXG-RAN
Commits
59f640a9
Commit
59f640a9
authored
Oct 24, 2023
by
Jaroslava Fiedlerova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T2 offload - remove create_reference_ldpc_enc_op
parent
5ba6411d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
13 deletions
+1
-13
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
+1
-13
No files found.
openair1/PHY/CODING/nrLDPC_decoder/nrLDPC_decoder_offload.c
View file @
59f640a9
...
@@ -727,16 +727,6 @@ static int retrieve_ldpc_enc_op(struct rte_bbdev_enc_op **ops, const uint16_t n,
...
@@ -727,16 +727,6 @@ static int retrieve_ldpc_enc_op(struct rte_bbdev_enc_op **ops, const uint16_t n,
return TEST_SUCCESS;
return TEST_SUCCESS;
}
}
*/
*/
// DPDK BBDEV modified - parameters to be checked, based on the test vector
static
void
create_reference_ldpc_enc_op
(
struct
rte_bbdev_enc_op
*
op
,
t_nrLDPCoffload_params
*
p_offloadParams
)
{
op
->
ldpc_enc
.
input
.
length
=
(
p_offloadParams
->
Kr
+
7
)
/
8
;
op
->
ldpc_enc
.
basegraph
=
p_offloadParams
->
BG
;
op
->
ldpc_enc
.
z_c
=
p_offloadParams
->
Z
;
op
->
ldpc_enc
.
n_filler
=
p_offloadParams
->
F
;
op
->
ldpc_enc
.
code_block_mode
=
1
;
op
->
ldpc_enc
.
op_flags
=
RTE_BBDEV_LDPC_INTERLEAVER_BYPASS
;
// RTE_BBDEV_LDPC_RATE_MATCH;
}
// DPDK BBDEV copy
// DPDK BBDEV copy
// OK for encoding
// OK for encoding
...
@@ -1323,15 +1313,13 @@ int32_t LDPCencoder(unsigned char **input, unsigned char **output, encoder_imple
...
@@ -1323,15 +1313,13 @@ int32_t LDPCencoder(unsigned char **input, unsigned char **output, encoder_imple
.
n_cb
=
(
BG
==
1
)
?
(
66
*
Zc
)
:
(
50
*
Zc
),
.
n_cb
=
(
BG
==
1
)
?
(
66
*
Zc
)
:
(
50
*
Zc
),
.
BG
=
BG
,
.
BG
=
BG
,
.
Z
=
Zc
,
.
Z
=
Zc
,
.
rv
=
0
,
//
impp->rv,
.
rv
=
0
,
//
impp->rv,
.
F
=
0
,
//impp->F,
.
F
=
0
,
//impp->F,
.
Qm
=
impp
->
Qm
,
.
Qm
=
impp
->
Qm
,
.
Kr
=
impp
->
Kr
};
.
Kr
=
impp
->
Kr
};
struct
rte_bbdev_info
info
;
struct
rte_bbdev_info
info
;
rte_bbdev_info_get
(
ad
->
dev_id
,
&
info
);
rte_bbdev_info_get
(
ad
->
dev_id
,
&
info
);
int
socket_id
=
GET_SOCKET
(
info
.
socket_id
);
int
socket_id
=
GET_SOCKET
(
info
.
socket_id
);
// no need to use create_reference_ldpc_dec_op?
create_reference_ldpc_enc_op
(
op_params
->
ref_enc_op
,
&
offloadParams
);
// fill_queue_buffers -> init_op_data_objs
// fill_queue_buffers -> init_op_data_objs
struct
rte_mempool
*
in_mp
=
ad
->
in_mbuf_pool
;
struct
rte_mempool
*
in_mp
=
ad
->
in_mbuf_pool
;
struct
rte_mempool
*
hard_out_mp
=
ad
->
hard_out_mbuf_pool
;
struct
rte_mempool
*
hard_out_mp
=
ad
->
hard_out_mbuf_pool
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment