diff mbox series

[v6,9/9] app/bbdev: add test vectors for transport blocks

Message ID 20210924043722.27980-10-nipun.gupta@nxp.com (mailing list archive)
State Superseded, archived
Delegated to: akhil goyal
Headers show
Series baseband: add NXP LA12xx driver | expand

Checks

Context Check Description
ci/intel-Testing success Testing PASS
ci/Intel-compilation fail Compilation issues
ci/checkpatch success coding style OK

Commit Message

Nipun Gupta Sept. 24, 2021, 4:37 a.m. UTC
From: Nipun Gupta <nipun.gupta@nxp.com>

This patch adds two test vectors for transport block in network byte
order:
- LDPC encode for Transport Block
- LDPC decode for Transport block

Signed-off-by: Nipun Gupta <nipun.gupta@nxp.com>
---
 app/test-bbdev/test_vectors/ldpc_dec_tb.data | 265 +++++++++++++++++++
 app/test-bbdev/test_vectors/ldpc_enc_tb.data |  95 +++++++
 2 files changed, 360 insertions(+)
 create mode 100644 app/test-bbdev/test_vectors/ldpc_dec_tb.data
 create mode 100644 app/test-bbdev/test_vectors/ldpc_enc_tb.data
diff mbox series

Patch

diff --git a/app/test-bbdev/test_vectors/ldpc_dec_tb.data b/app/test-bbdev/test_vectors/ldpc_dec_tb.data
new file mode 100644
index 0000000000..5882e8aafe
--- /dev/null
+++ b/app/test-bbdev/test_vectors/ldpc_dec_tb.data
@@ -0,0 +1,265 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2021 NXP
+
+op_type =
+RTE_BBDEV_OP_LDPC_DEC
+
+input0 =
+0x7f818181, 0x7f7f817f, 0x7f817f81, 0x817f8181, 0x817f7f81, 0x817f7f81, 0x7f817f7f, 0x7f7f7f81,
+0x7f7f7f7f, 0x817f7f7f, 0x7f7f8181, 0x817f7f7f, 0x7f7f817f, 0x8181817f, 0x817f7f81, 0x7f7f8181,
+0x81817f81, 0x7f7f7f81, 0x81817f7f, 0x7f81817f, 0x817f7f81, 0x7f817f81, 0x8181817f, 0x7f7f7f81,
+0x7f7f817f, 0x81817f7f, 0x7f81817f, 0x7f7f817f, 0x817f817f, 0x7f7f817f, 0x7f7f7f81, 0x7f7f7f81,
+0x7f817f7f, 0x7f818181, 0x7f818181, 0x8181817f, 0x7f7f8181, 0x7f7f7f7f, 0x7f817f7f, 0x81818181,
+0x7f7f817f, 0x7f7f7f7f, 0x817f8181, 0x7f7f7f81, 0x817f817f, 0x817f8181, 0x81817f7f, 0x7f7f7f7f,
+0x81817f7f, 0x7f81817f, 0x817f7f7f, 0x817f7f81, 0x7f817f7f, 0x817f817f, 0x81817f81, 0x817f7f7f,
+0x817f7f81, 0x817f817f, 0x8181817f, 0x81818181, 0x81818181, 0x817f7f7f, 0x7f817f81, 0x817f7f7f,
+0x7f817f7f, 0x7f817f7f, 0x7f818181, 0x7f818181, 0x817f817f, 0x81817f81, 0x7f81817f, 0x817f817f,
+0x7f81817f, 0x817f7f81, 0x7f7f817f, 0x817f8181, 0x817f7f81, 0x81817f7f, 0x8181817f, 0x7f7f7f7f,
+0x817f7f81, 0x7f81817f, 0x7f7f7f7f, 0x7f817f81, 0x7f817f81, 0x817f7f7f, 0x81818181, 0x7f7f8181,
+0x7f818181, 0x81817f7f, 0x7f817f81, 0x7f81817f, 0x7f7f8181, 0x7f7f817f, 0x7f7f817f, 0x81817f81,
+0x7f818181, 0x8181817f, 0x7f817f81, 0x7f7f8181, 0x7f7f8181, 0x817f7f81, 0x7f7f7f7f, 0x7f817f7f,
+0x7f7f8181, 0x7f817f7f, 0x7f818181, 0x81817f7f, 0x817f7f7f, 0x81817f81, 0x7f817f7f, 0x7f81817f,
+0x7f81817f, 0x817f7f81, 0x7f817f7f, 0x817f817f, 0x7f7f817f, 0x817f7f81, 0x817f817f, 0x817f8181,
+0x817f817f, 0x7f817f7f, 0x7f817f7f, 0x8181817f, 0x7f818181, 0x7f817f7f, 0x7f818181, 0x7f7f817f,
+0x817f8181, 0x8181817f, 0x7f817f7f, 0x7f7f817f, 0x7f7f817f, 0x7f7f8181, 0x817f7f7f, 0x817f8181,
+0x7f7f817f, 0x7f7f7f81, 0x817f7f81, 0x7f7f7f81, 0x7f7f7f7f, 0x817f8181, 0x81818181, 0x81817f81,
+0x817f7f81, 0x7f7f817f, 0x7f817f7f, 0x7f7f8181, 0x7f7f7f81, 0x7f817f81, 0x817f8181, 0x81817f7f,
+0x7f7f817f, 0x7f817f81, 0x7f817f81, 0x7f7f7f81, 0x81818181, 0x81817f7f, 0x7f7f817f, 0x7f817f81,
+0x7f7f8181, 0x7f81817f, 0x817f8181, 0x7f7f8181, 0x7f7f7f81, 0x8181817f, 0x7f817f81, 0x81817f7f,
+0x817f7f81, 0x817f8181, 0x817f7f7f, 0x7f7f817f, 0x817f7f7f, 0x81817f81, 0x7f7f7f7f, 0x817f7f7f,
+0x817f7f81, 0x7f817f81, 0x8181817f, 0x81817f7f, 0x817f7f81, 0x7f818181, 0x7f7f817f, 0x7f818181,
+0x7f7f7f7f, 0x7f7f8181, 0x7f7f817f, 0x7f817f81, 0x817f7f7f, 0x817f817f, 0x7f7f7f81, 0x7f7f7f81,
+0x7f7f817f, 0x817f8181, 0x81817f81, 0x817f7f7f, 0x7f7f7f81, 0x817f7f7f, 0x7f7f7f7f, 0x7f7f817f,
+0x81817f81, 0x7f7f7f81, 0x81817f7f, 0x81818181, 0x817f7f81, 0x817f817f, 0x817f7f7f, 0x7f7f7f7f,
+0x7f81817f, 0x8181817f, 0x7f7f817f, 0x817f7f81, 0x7f81817f, 0x817f7f81, 0x7f7f817f, 0x7f818181,
+0x817f7f7f, 0x817f7f81, 0x81817f81, 0x81817f81, 0x8181817f, 0x7f817f7f, 0x7f7f7f81, 0x8181817f,
+0x7f817f81, 0x8181817f, 0x7f7f7f81, 0x817f8181, 0x817f7f81, 0x81817f81, 0x7f7f817f, 0x7f7f817f,
+0x817f7f7f, 0x817f8181, 0x7f817f7f, 0x817f7f81, 0x7f7f7f81, 0x7f7f7f7f, 0x817f8181, 0x7f817f81,
+0x81817f81, 0x7f7f7f81, 0x817f7f7f, 0x817f817f, 0x81817f7f, 0x817f7f81, 0x7f81817f, 0x817f817f,
+0x81817f81, 0x8181817f, 0x7f818181, 0x7f81817f, 0x8181817f, 0x817f7f7f, 0x7f817f7f, 0x8181817f,
+0x7f7f7f7f, 0x81817f7f, 0x7f7f7f81, 0x817f7f81, 0x7f7f7f81, 0x7f817f7f, 0x7f7f7f7f, 0x817f7f81,
+0x7f818181, 0x817f7f7f, 0x7f7f7f81, 0x817f7f7f, 0x81818181, 0x81817f7f, 0x7f817f81, 0x7f7f7f81,
+0x7f818181, 0x817f8181, 0x81817f81, 0x8181817f, 0x7f7f8181, 0x817f7f81, 0x7f81817f, 0x7f7f817f,
+0x7f7f8181, 0x7f817f7f, 0x8181817f, 0x7f817f81, 0x7f817f7f, 0x7f7f8181, 0x7f818181, 0x7f7f8181,
+0x817f7f81, 0x81817f81, 0x7f81817f, 0x81817f81, 0x817f7f7f, 0x7f818181, 0x8181817f, 0x817f8181,
+0x7f7f7f81, 0x7f81817f, 0x81817f7f, 0x7f817f81, 0x7f7f817f, 0x7f7f8181, 0x7f81817f, 0x7f81817f,
+0x7f818181, 0x817f7f7f, 0x817f8181, 0x7f7f8181, 0x8181817f, 0x7f817f81, 0x817f8181, 0x817f817f,
+0x7f7f817f, 0x81817f81, 0x7f817f7f, 0x7f81817f, 0x817f817f, 0x81817f81, 0x7f7f7f7f, 0x8181817f,
+0x7f817f81, 0x7f817f7f, 0x7f817f81, 0x7f817f7f, 0x7f7f7f81, 0x817f817f, 0x7f81817f, 0x817f7f81,
+0x81818181, 0x7f817f81, 0x7f7f7f81, 0x7f81817f, 0x817f7f7f, 0x817f7f81, 0x817f7f7f, 0x81817f81,
+0x7f7f817f, 0x817f8181, 0x81818181, 0x81817f81, 0x81817f81, 0x81817f7f, 0x81817f7f, 0x7f817f81,
+0x7f817f7f, 0x7f7f7f81, 0x7f81817f, 0x817f7f81, 0x817f8181, 0x817f7f81, 0x7f817f81, 0x81818181,
+0x7f7f7f7f, 0x817f8181, 0x817f817f, 0x81818181, 0x81817f7f, 0x7f81817f, 0x81817f81, 0x81818181,
+0x7f7f7f81, 0x81817f81, 0x81818181, 0x817f7f7f, 0x817f817f, 0x81818181, 0x7f7f7f7f, 0x7f7f817f,
+0x7f817f81, 0x8181817f, 0x81817f81, 0x7f7f7f7f, 0x7f7f817f, 0x81817f7f, 0x817f817f, 0x7f7f7f81,
+0x81818181, 0x7f7f817f, 0x81818181, 0x7f81817f, 0x7f7f7f7f, 0x817f8181, 0x7f81817f, 0x817f7f7f,
+0x8181817f, 0x8181817f, 0x817f7f7f, 0x7f7f817f, 0x7f81817f, 0x7f817f81, 0x81817f7f, 0x817f7f7f,
+0x81818181, 0x81817f7f, 0x7f81817f, 0x8181817f, 0x817f8181, 0x81817f7f, 0x7f818181, 0x7f7f7f7f,
+0x81818181, 0x8181817f, 0x7f81817f, 0x8181817f, 0x7f7f7f7f, 0x7f817f81, 0x7f7f8181, 0x817f8181,
+0x8181817f, 0x81817f7f, 0x7f817f7f, 0x81818181, 0x7f7f8181, 0x817f817f, 0x7f7f8181, 0x817f7f7f,
+0x81817f7f, 0x81818181, 0x817f7f7f, 0x7f7f817f, 0x81818181, 0x7f817f7f, 0x817f7f7f, 0x7f818181,
+0x7f817f81, 0x7f817f7f, 0x817f817f, 0x8181817f, 0x7f7f8181, 0x817f8181, 0x817f7f7f, 0x817f817f,
+0x7f7f817f, 0x7f7f7f7f, 0x7f817f7f, 0x7f7f7f81, 0x81817f81, 0x8181817f, 0x81818181, 0x7f818181,
+0x817f817f, 0x7f818181, 0x7f81817f, 0x7f817f81, 0x7f817f7f, 0x7f81817f, 0x817f8181, 0x81818181,
+0x7f7f7f7f, 0x7f817f81, 0x7f817f7f, 0x8181817f, 0x817f817f, 0x7f817f7f, 0x817f817f, 0x81818181,
+0x7f7f8181, 0x81817f81, 0x817f7f7f, 0x817f7f81, 0x8181817f, 0x817f7f7f, 0x817f7f81, 0x7f817f81,
+0x817f817f, 0x817f817f, 0x81817f81, 0x817f8181, 0x817f817f, 0x7f7f8181, 0x7f7f8181, 0x7f7f817f,
+0x817f7f81, 0x817f8181, 0x7f7f817f, 0x7f7f817f, 0x7f7f8181, 0x7f81817f, 0x7f7f7f7f, 0x7f7f7f7f,
+0x7f7f7f81, 0x7f817f81, 0x7f817f7f, 0x817f8181, 0x817f8181, 0x7f81817f, 0x817f7f7f, 0x7f818181,
+0x7f817f7f, 0x7f817f81, 0x81817f7f, 0x817f7f81, 0x8181817f, 0x817f7f81, 0x7f818181, 0x817f7f81,
+0x7f818181, 0x817f7f7f, 0x7f818181, 0x7f7f8181, 0x81817f81, 0x817f7f7f, 0x7f7f817f, 0x817f7f81,
+0x817f817f, 0x7f817f81, 0x817f8181, 0x817f8181, 0x7f7f7f81, 0x7f817f7f, 0x81817f81, 0x7f7f8181,
+0x81817f7f, 0x817f7f7f, 0x7f817f7f, 0x817f8181, 0x817f817f, 0x7f81817f, 0x7f818181, 0x817f817f,
+0x7f7f7f7f, 0x7f817f81, 0x7f7f817f, 0x7f818181, 0x81817f81, 0x7f817f81, 0x817f7f7f, 0x7f7f7f7f,
+0x7f7f7f7f, 0x817f7f81, 0x7f7f8181, 0x81817f7f, 0x7f817f81, 0x817f817f, 0x7f7f8181, 0x7f817f7f,
+0x7f7f7f81, 0x817f817f, 0x8181817f, 0x7f81817f, 0x81817f81, 0x7f7f817f, 0x7f818181, 0x8181817f,
+0x7f818181, 0x7f7f7f7f, 0x7f7f8181, 0x817f7f7f, 0x7f7f817f, 0x7f817f7f, 0x81817f81, 0x7f7f817f,
+0x817f7f81, 0x7f817f81, 0x7f7f7f7f, 0x7f818181, 0x81817f7f, 0x817f8181, 0x7f817f7f, 0x7f7f817f,
+0x817f817f, 0x7f7f817f, 0x7f7f8181, 0x81818181, 0x817f7f7f, 0x7f81817f, 0x81818181, 0x817f817f,
+0x817f7f81, 0x7f817f7f, 0x817f7f7f, 0x8181817f, 0x7f7f7f7f, 0x81818181, 0x7f817f81, 0x7f817f7f,
+0x817f7f7f, 0x817f7f7f, 0x7f7f8181, 0x7f81817f, 0x7f818181, 0x7f7f817f, 0x7f81817f, 0x7f7f7f7f,
+0x817f7f7f, 0x81818181, 0x817f7f81, 0x817f8181, 0x7f81817f, 0x8181817f, 0x8181817f, 0x817f7f81,
+0x7f7f817f, 0x7f81817f, 0x7f7f7f7f, 0x81817f81, 0x7f7f817f, 0x7f817f81, 0x81818181, 0x7f7f817f,
+0x7f817f7f, 0x81818181, 0x81817f81, 0x817f7f7f, 0x7f817f7f, 0x817f7f81, 0x8181817f, 0x7f7f7f7f,
+0x7f817f7f, 0x81817f7f, 0x817f8181, 0x817f8181, 0x7f818181, 0x817f8181, 0x7f818181, 0x7f7f817f,
+0x817f8181, 0x7f7f817f, 0x7f7f817f, 0x81818181, 0x81817f81, 0x7f7f7f81, 0x817f817f, 0x7f7f7f7f,
+0x7f7f7f7f, 0x81818181, 0x7f7f7f81, 0x7f818181, 0x7f7f8181, 0x7f7f7f7f, 0x81817f81, 0x7f817f7f,
+0x8181817f, 0x7f817f7f, 0x817f7f7f, 0x7f817f81, 0x8181817f, 0x7f7f817f, 0x817f7f7f, 0x7f7f7f7f,
+0x8181817f, 0x7f81817f, 0x7f7f817f, 0x7f7f7f7f, 0x8181817f, 0x7f7f7f7f, 0x8181817f, 0x7f817f81,
+0x81818181, 0x7f7f7f7f, 0x817f8181, 0x81818181, 0x7f7f817f, 0x7f817f7f, 0x817f8181, 0x7f7f8181,
+0x8181817f, 0x7f7f7f7f, 0x81817f7f, 0x7f7f817f, 0x817f7f7f, 0x7f817f7f, 0x817f817f, 0x7f7f817f,
+0x81818181, 0x81818181, 0x7f7f7f81, 0x81818181, 0x817f7f81, 0x7f7f8181, 0x81818181, 0x7f7f7f81,
+0x7f81817f, 0x817f817f, 0x817f8181, 0x8181817f, 0x7f7f8181, 0x7f817f81, 0x817f817f, 0x817f8181,
+0x81818181, 0x7f818181, 0x817f7f81, 0x8181817f, 0x7f817f81, 0x81817f7f, 0x81817f81, 0x81817f81,
+0x817f7f81, 0x7f817f7f, 0x7f817f7f, 0x81818181, 0x7f817f7f, 0x7f7f8181, 0x817f817f, 0x7f7f7f7f,
+0x7f81817f, 0x7f81817f, 0x817f817f, 0x7f7f7f7f, 0x8181817f, 0x7f817f81, 0x817f8181, 0x7f7f8181,
+0x817f7f7f, 0x81818181, 0x8181817f, 0x817f7f81, 0x7f818181, 0x7f7f7f81, 0x7f81817f, 0x817f7f81,
+0x81817f7f, 0x8181817f, 0x81818181, 0x7f818181, 0x7f818181, 0x81817f7f, 0x7f81817f, 0x81818181,
+0x81817f7f, 0x81817f7f, 0x817f7f7f, 0x7f81817f, 0x81817f7f, 0x8181817f, 0x81818181, 0x81818181,
+0x7f817f81, 0x7f817f81, 0x817f7f81, 0x81817f81, 0x7f7f817f, 0x81817f81, 0x817f7f81, 0x817f817f,
+0x81817f7f, 0x81817f81, 0x7f7f817f, 0x81818181, 0x7f7f7f81, 0x81817f81, 0x7f7f8181, 0x817f7f81,
+0x817f7f7f, 0x81818181, 0x817f817f, 0x7f818181, 0x817f8181, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f817f,
+0x7f81817f, 0x8181817f, 0x81817f7f, 0x7f7f8181, 0x81817f81, 0x81818181, 0x817f817f, 0x8181817f,
+0x7f7f7f7f, 0x7f7f8181, 0x7f81817f, 0x7f7f7f81, 0x7f7f7f7f, 0x7f7f7f7f, 0x81817f81, 0x817f7f7f,
+0x7f7f8181, 0x817f7f7f, 0x7f817f81, 0x817f8181, 0x817f8181, 0x817f8181, 0x81817f81, 0x81817f7f,
+0x7f818181, 0x7f7f7f7f, 0x7f7f817f, 0x817f8181, 0x7f7f7f81, 0x7f7f817f, 0x7f7f7f81, 0x7f817f81,
+0x81817f7f, 0x817f817f, 0x817f7f81, 0x81818181, 0x7f7f817f, 0x7f817f81, 0x817f7f7f, 0x7f81817f,
+0x7f817f81, 0x817f817f, 0x817f7f7f, 0x81817f7f, 0x7f818181, 0x7f7f7f81, 0x817f7f81, 0x81817f81,
+0x7f7f7f81, 0x817f7f81, 0x817f7f81, 0x817f8181, 0x7f817f81, 0x7f81817f, 0x7f7f817f, 0x81817f81,
+0x8181817f, 0x81817f81, 0x7f81817f, 0x817f7f81, 0x7f817f81, 0x7f818181, 0x7f7f7f81, 0x817f8181,
+0x7f7f8181, 0x7f81817f, 0x81818181, 0x7f7f817f, 0x7f818181, 0x81818181, 0x7f81817f, 0x7f818181,
+0x817f817f, 0x81818181, 0x7f7f7f81, 0x7f7f7f7f, 0x8181817f, 0x817f7f81, 0x817f7f81, 0x7f7f7f7f,
+0x817f8181, 0x817f7f81, 0x81818181, 0x81817f7f, 0x7f7f8181, 0x8181817f, 0x817f8181, 0x817f817f,
+0x817f817f, 0x8181817f, 0x7f818181, 0x817f7f81, 0x81817f81, 0x817f817f, 0x7f7f8181, 0x7f817f7f,
+0x81817f81, 0x817f7f7f, 0x7f7f817f, 0x7f817f81, 0x7f817f7f, 0x817f817f, 0x81818181, 0x7f818181,
+0x81817f7f, 0x7f818181, 0x8181817f, 0x817f7f81, 0x7f7f7f81, 0x7f81817f, 0x7f817f81, 0x81817f7f,
+0x7f7f7f81, 0x81817f7f, 0x81817f7f, 0x817f7f81, 0x817f8181, 0x8181817f, 0x817f817f, 0x7f7f7f81,
+0x7f7f817f, 0x7f81817f, 0x8181817f, 0x7f81817f, 0x7f817f81, 0x81818181, 0x7f817f81, 0x7f7f7f7f,
+0x7f818181, 0x81817f7f, 0x817f8181, 0x81817f7f, 0x817f817f, 0x7f7f7f81, 0x817f7f81, 0x7f817f81,
+0x81817f81, 0x7f817f7f, 0x8181817f, 0x7f818181, 0x7f7f7f7f, 0x7f7f7f7f, 0x7f7f8181, 0x7f7f8181,
+0x817f817f, 0x81817f81, 0x817f7f7f, 0x817f7f7f, 0x817f7f7f, 0x8181817f, 0x81818181, 0x81818181,
+0x8181817f, 0x7f817f7f, 0x81817f7f, 0x7f7f8181, 0x817f7f81, 0x7f81817f, 0x7f7f817f, 0x81817f81,
+0x817f7f81, 0x81817f81, 0x7f817f81, 0x817f7f7f, 0x81817f81, 0x7f81817f, 0x7f818181, 0x81817f81,
+0x7f7f817f, 0x7f7f7f81, 0x7f7f817f, 0x7f7f7f7f, 0x817f7f81, 0x81817f7f, 0x7f81817f, 0x7f7f7f7f,
+0x7f81817f, 0x7f817f7f, 0x817f7f81, 0x81817f7f, 0x7f7f7f81, 0x7f7f7f7f, 0x817f8181, 0x7f7f7f81,
+0x7f7f8181, 0x7f81817f, 0x81818181, 0x7f7f7f7f, 0x81817f7f, 0x7f7f817f, 0x8181817f, 0x81818181,
+0x81817f81, 0x817f7f7f, 0x81818181, 0x817f8181, 0x7f7f8181, 0x7f81817f, 0x817f7f81, 0x7f7f7f81,
+0x7f817f7f, 0x81818181, 0x7f7f817f, 0x817f7f81, 0x817f7f81, 0x81817f7f, 0x7f817f81, 0x7f817f7f,
+0x81817f7f, 0x81818181, 0x8181817f, 0x7f7f8181, 0x7f817f81, 0x81817f81, 0x81817f7f, 0x817f7f81,
+0x817f7f81, 0x7f818181, 0x7f818181, 0x817f8181, 0x7f81817f, 0x7f7f817f, 0x7f817f81, 0x7f81817f,
+0x7f817f7f, 0x817f8181, 0x7f7f817f, 0x81817f7f, 0x817f7f81, 0x7f818181, 0x81817f7f, 0x7f817f81,
+0x7f7f817f, 0x817f7f81, 0x8181817f, 0x81817f7f, 0x7f7f7f81, 0x7f7f817f, 0x7f7f7f81, 0x7f81817f,
+0x7f81817f, 0x7f818181, 0x7f7f817f, 0x7f7f817f, 0x7f81817f, 0x7f7f8181, 0x817f7f7f, 0x7f7f7f7f,
+0x7f7f7f81, 0x7f818181, 0x81817f7f, 0x817f8181, 0x7f81817f, 0x7f7f7f7f, 0x7f7f7f7f, 0x817f7f7f,
+0x81817f7f, 0x7f7f8181, 0x817f8181, 0x7f81817f, 0x7f7f8181, 0x81817f7f, 0x8181817f, 0x81818181,
+0x81817f7f, 0x7f817f7f, 0x817f8181, 0x817f7f81, 0x7f818181, 0x7f7f817f, 0x817f7f81, 0x7f7f817f,
+0x817f7f7f, 0x7f81817f, 0x7f7f7f7f, 0x7f817f81, 0x7f817f7f, 0x817f817f, 0x7f818181, 0x7f818181,
+0x81817f7f, 0x81817f7f, 0x7f817f81, 0x81817f7f, 0x8181817f, 0x7f7f8181, 0x817f7f7f, 0x7f81817f,
+0x81817f81, 0x817f7f81, 0x8181817f, 0x81817f7f, 0x7f7f7f81, 0x7f817f7f, 0x817f7f81, 0x7f817f7f,
+0x7f817f7f, 0x81818181, 0x7f7f8181, 0x7f7f8181, 0x7f7f7f7f, 0x7f818181, 0x7f7f7f7f, 0x7f7f7f7f,
+0x7f817f81, 0x7f7f7f7f, 0x7f7f817f, 0x7f81817f, 0x7f7f8181, 0x817f7f81, 0x7f817f7f, 0x7f7f817f,
+0x81818181, 0x7f81817f, 0x7f7f7f7f, 0x7f817f7f, 0x7f81817f, 0x7f817f81, 0x81818181, 0x7f7f7f81,
+0x7f81817f, 0x7f7f8181, 0x7f7f817f, 0x7f7f8181, 0x7f81817f, 0x81817f7f, 0x7f7f817f, 0x7f81817f,
+0x817f817f, 0x817f817f, 0x7f7f8181, 0x817f7f81, 0x7f7f8181, 0x7f817f7f, 0x7f7f8181, 0x817f817f,
+0x817f7f7f, 0x81817f81, 0x8181817f, 0x817f8181, 0x8181817f, 0x817f817f, 0x7f818181, 0x817f817f,
+0x7f7f7f81, 0x7f818181, 0x7f7f7f7f, 0x7f7f817f, 0x817f8181, 0x7f817f81, 0x7f818181, 0x81818181,
+0x7f81817f, 0x817f7f7f, 0x7f7f8181, 0x81817f81, 0x81817f7f, 0x817f817f, 0x7f7f817f, 0x817f7f7f,
+0x81818181, 0x817f817f, 0x8181817f, 0x7f7f7f7f, 0x81818181, 0x7f81817f, 0x7f7f817f, 0x8181817f,
+0x7f817f81, 0x7f7f817f, 0x81817f81, 0x817f817f, 0x7f7f7f7f, 0x7f817f7f, 0x81817f81, 0x7f7f7f81,
+0x7f818181, 0x7f7f8181, 0x7f817f81, 0x7f7f8181, 0x81817f7f, 0x7f817f7f, 0x817f7f7f, 0x81817f7f,
+0x81818181, 0x7f817f7f, 0x81817f7f, 0x817f7f81, 0x8181817f, 0x7f818181, 0x7f7f817f, 0x7f817f81,
+0x7f817f7f, 0x7f7f7f81, 0x7f7f8181, 0x817f8181, 0x81817f7f, 0x7f7f7f81, 0x817f7f7f, 0x7f7f8181,
+0x7f818181, 0x8181817f, 0x7f7f8181, 0x81817f81, 0x81818181, 0x7f7f8181, 0x817f8181, 0x81817f7f,
+0x7f7f7f81, 0x817f7f81, 0x7f7f817f, 0x7f818181, 0x7f817f81, 0x7f7f8181, 0x7f817f7f, 0x7f7f817f,
+0x7f818181, 0x7f81817f, 0x81817f7f, 0x7f7f7f81, 0x81818181, 0x817f7f7f, 0x817f7f7f, 0x7f817f81,
+0x81818181, 0x8181817f, 0x817f817f, 0x7f818181, 0x7f7f817f, 0x7f818181, 0x817f8181, 0x8181817f,
+0x7f7f7f81, 0x7f7f8181, 0x7f818181, 0x817f7f81, 0x7f818181, 0x8181817f, 0x7f7f7f7f, 0x7f7f817f,
+0x81817f81, 0x7f81817f, 0x7f81817f, 0x817f7f7f, 0x817f7f7f, 0x817f7f81, 0x817f7f81, 0x7f817f7f,
+0x7f817f7f, 0x7f818181, 0x81817f81, 0x8181817f, 0x7f7f8181, 0x817f7f7f, 0x8181817f, 0x81817f81,
+0x817f817f, 0x81818181, 0x7f7f817f, 0x7f7f8181, 0x7f81817f, 0x817f8181, 0x7f7f817f, 0x817f7f7f,
+0x81817f7f, 0x817f8181, 0x7f7f8181, 0x7f7f8181, 0x8181817f, 0x81817f81, 0x7f7f7f81, 0x7f818181,
+0x7f81817f, 0x8181817f, 0x7f7f7f81, 0x7f817f81, 0x7f818181, 0x817f7f81, 0x7f81817f, 0x817f8181,
+0x7f7f8181, 0x7f817f7f, 0x7f7f7f7f, 0x81818181, 0x81818181, 0x7f7f7f7f, 0x817f817f, 0x7f7f8181,
+0x7f81817f, 0x8181817f, 0x817f7f7f, 0x7f817f81, 0x7f817f7f, 0x7f818181, 0x7f817f81, 0x8181817f,
+0x7f817f7f, 0x817f7f81, 0x7f817f7f, 0x7f817f81, 0x81817f7f, 0x817f817f, 0x817f817f, 0x81817f81,
+0x7f7f8181, 0x8181817f, 0x7f7f817f, 0x7f7f7f7f, 0x81817f81, 0x817f8181, 0x7f817f81, 0x7f818181,
+0x817f7f81, 0x7f7f817f, 0x81817f7f, 0x7f7f7f7f, 0x7f81817f, 0x7f7f7f81, 0x817f8181, 0x8181817f,
+0x7f817f7f, 0x817f817f, 0x7f817f7f, 0x7f817f81, 0x817f8181, 0x817f7f7f, 0x7f81817f, 0x817f8181,
+0x81817f7f, 0x8181817f, 0x817f7f81, 0x7f817f7f, 0x7f81817f, 0x7f818181, 0x817f7f81, 0x817f7f81,
+0x81817f81, 0x81817f81, 0x81817f7f, 0x7f81817f, 0x81817f7f, 0x7f817f81, 0x817f7f7f, 0x81818181,
+0x7f7f817f, 0x81817f7f, 0x817f817f, 0x7f817f7f, 0x817f8181, 0x81818181, 0x817f8181, 0x817f7f81,
+0x7f7f7f7f, 0x7f817f81, 0x817f7f81, 0x7f817f7f, 0x817f7f81, 0x7f7f7f81, 0x7f817f81, 0x7f7f8181,
+0x7f7f7f81, 0x7f817f7f, 0x817f7f7f, 0x817f7f7f, 0x81817f7f, 0x817f7f81, 0x7f818181, 0x7f817f7f,
+0x7f817f7f, 0x8181817f, 0x81817f7f, 0x7f817f81, 0x81818181, 0x81817f81, 0x81818181, 0x7f817f7f,
+0x7f817f81, 0x81818181, 0x8181817f, 0x81817f7f, 0x817f7f7f, 0x7f818181, 0x7f7f8181, 0x7f818181,
+0x8181817f, 0x7f817f81, 0x7f7f7f81, 0x8181817f, 0x817f7f7f, 0x7f7f817f, 0x7f817f7f, 0x7f817f7f,
+0x7f817f7f, 0x7f817f81, 0x817f7f81, 0x817f7f7f, 0x817f817f, 0x817f817f, 0x817f7f7f, 0x817f8181,
+0x7f7f7f7f, 0x7f817f81, 0x817f817f, 0x7f817f7f, 0x7f817f81, 0x81817f81, 0x7f7f7f7f, 0x817f7f81,
+0x7f818181, 0x7f81817f, 0x817f7f7f, 0x81818181, 0x817f8181, 0x81817f7f, 0x7f7f8181, 0x7f7f8181,
+0x7f817f81, 0x81817f81, 0x817f7f81, 0x81818181, 0x8181817f, 0x7f7f8181, 0x81818181, 0x817f7f81,
+0x7f817f81, 0x817f7f7f, 0x81818181, 0x7f81817f, 0x7f7f8181, 0x817f7f81, 0x8181817f, 0x7f818181,
+0x817f8181, 0x7f7f7f7f, 0x8181817f, 0x817f817f, 0x817f8181, 0x81817f81, 0x817f817f, 0x7f817f81,
+0x7f7f8181, 0x817f7f81, 0x81818181, 0x7f817f81, 0x817f8181, 0x7f7f7f7f, 0x8181817f, 0x7f7f8181,
+0x817f817f, 0x81817f7f, 0x7f817f81, 0x7f817f7f, 0x7f818181, 0x7f7f7f7f, 0x7f7f817f, 0x7f81817f,
+0x817f7f81, 0x817f817f, 0x7f7f8181, 0x7f7f7f81, 0x817f8181, 0x81818181, 0x8181817f, 0x7f7f8181,
+0x7f817f7f, 0x7f7f7f81, 0x7f7f7f81, 0x7f7f7f7f, 0x81818181, 0x7f7f8181, 0x817f7f81, 0x81817f7f,
+0x7f7f7f7f, 0x817f7f81, 0x7f817f81, 0x81818181, 0x7f817f81, 0x7f7f7f7f, 0x8181817f, 0x7f7f7f81,
+0x7f817f7f, 0x817f8181, 0x7f7f8181, 0x817f8181, 0x7f7f817f, 0x817f8181, 0x817f7f81, 0x81818181,
+0x7f7f8181, 0x81818181, 0x7f7f817f, 0x817f817f, 0x7f7f8181, 0x81818181, 0x7f7f7f7f, 0x7f81817f,
+0x8181817f, 0x817f817f, 0x817f8181, 0x7f818181, 0x81818181, 0x817f817f, 0x7f817f81, 0x7f817f81,
+0x81817f7f, 0x8181817f, 0x817f817f, 0x817f7f7f, 0x81817f81, 0x81817f7f, 0x7f7f817f, 0x7f7f8181,
+0x8181817f, 0x81818181, 0x81817f7f, 0x7f818181, 0x7f7f7f7f, 0x817f7f81, 0x817f7f81, 0x7f7f7f7f,
+0x7f7f7f7f, 0x81817f7f, 0x817f7f7f, 0x7f817f7f, 0x7f7f7f7f, 0x817f8181, 0x81817f81, 0x7f7f7f7f,
+0x817f8181, 0x7f7f817f, 0x81818181, 0x7f7f7f7f, 0x7f817f81, 0x7f7f7f7f, 0x81817f81, 0x81818181,
+0x8181817f, 0x817f8181, 0x7f817f81, 0x8181817f, 0x7f7f7f81, 0x817f7f7f, 0x7f818181, 0x7f818181,
+0x7f7f7f81, 0x7f817f81, 0x8181817f, 0x7f818181
+
+output0 =
+0xd0dd44b2, 0xe91d434b, 0x17b23d65, 0xb8abd7c1, 0x12d7d41c, 0xce2686c2, 0x402c1efa, 0xc9151fcc,
+0xe00effad, 0xc964d36a, 0xe70e39e3, 0xd86577a2, 0x77e04ae3, 0x9dfd60b9, 0xbf43376f, 0x09841e69,
+0x53a02679, 0x898c65d0, 0x17434cf8, 0x9a3abfe2, 0x05e767ac, 0x902d6156, 0x716046a1, 0x636fc345,
+0xf15b483e, 0x910e40e4, 0x5d32b9a2, 0x8e9514b0, 0x7a218bb8, 0x7665aac3, 0x33a5b20c, 0x8ba7b5e3,
+0x220262e0, 0x7b654c15, 0xa69f1855, 0x6dcf61e3, 0x0036c1aa, 0x7ea806e3, 0x3f9b2ef1, 0x386cdd36,
+0xf94ae7e4, 0xf707e376, 0xb9c90f7b, 0x40bdd41f, 0x03cf6ae8, 0xfbd5b550, 0x03d90ae6, 0x65a6cf09,
+0xa3d70588, 0x26343d97, 0x464981b1, 0xd79f8b30, 0xa554bb7e, 0x524d3a2c, 0x2f75d78c, 0x3148c8d8,
+0xd4cccf4d, 0xc98df39c, 0x7f4fdb2a, 0x831c5ccd, 0xbe46bd67, 0xa9bf0a6b, 0xa726bdcc, 0xd590425d,
+0xa792805b, 0xe4b0518a, 0x18c4bcca, 0xf3891686, 0x3cdee43e, 0xd526e3a9, 0x8112aec6, 0x811151f4,
+0x9763de36, 0x56e50307, 0xa7313051, 0xc40db40a, 0x1931fa6e, 0x5701947d, 0x098ee810, 0x01cec402,
+0x804668f1, 0xc00c41da, 0x02432f4d, 0x072c9643, 0xf23088cc, 0x74620646, 0x281f8a80, 0x2c7a2aa6,
+0xfe8c2f88, 0xe0100f94, 0x9c402559, 0x48f5c34d, 0x59a3b023, 0x2427f7e0, 0xb2f30717, 0x9bf140a6,
+0x3fa4710b, 0xb493a4a2, 0xb16e6135, 0xd75f0e8e, 0xe7ff6b4a, 0x43d9e122, 0xafc5d306, 0xec88d05e,
+0xabfc996a, 0x29644a44, 0xa0c5c9fa, 0xf5836a0b, 0xd2a97513, 0x6986e115, 0x5581b429, 0xd6f8e599,
+0x035a2d9a, 0xe0835100, 0x561d04c5, 0x565f647a, 0xff711c76, 0x6b6fcd71, 0xb08518ac, 0xad407897,
+0x6de25115, 0x8e8fd5f1, 0x67196a81, 0xb6ef576b, 0x5e170674, 0x3cd78132, 0x0be74b19, 0x84f30e7b,
+0x85aa98b6, 0xcfe08810, 0xaa438ec3, 0xe95c3900, 0xafb0c225, 0xbe52bde2, 0xd6dcfec6, 0xccde045b,
+0x4fd00da2, 0x30c377b7, 0x771fdf0b, 0xea5f9282, 0x838dc0bf, 0x3250d0a9, 0xf2190c4d, 0x5ec14787,
+0x32c2d755, 0xe3b9f56c, 0xfb34945e, 0x642dc6c3, 0x8fb96e69, 0x612afce6, 0x17eb0530, 0x2fa9637c,
+0xef1068a6, 0x456c8bcd, 0x65b16eb9, 0xf97d8e92, 0x7b1a46
+
+basegraph=
+2
+
+z_c=
+256
+
+n_cb=
+12800
+
+q_m=
+2
+
+n_filler=
+16
+
+ea =
+3000
+
+eb =
+3000
+
+iter_max=
+8
+
+expected_iter_count=
+2
+
+c =
+2
+
+r =
+0
+
+cab =
+0
+
+rv_index =
+0
+
+code_block_mode =
+0
+
+op_flags =
+RTE_BBDEV_LDPC_CRC_TYPE_24B_DROP
+
+expected_status =
+OK
diff --git a/app/test-bbdev/test_vectors/ldpc_enc_tb.data b/app/test-bbdev/test_vectors/ldpc_enc_tb.data
new file mode 100644
index 0000000000..0161c06f0d
--- /dev/null
+++ b/app/test-bbdev/test_vectors/ldpc_enc_tb.data
@@ -0,0 +1,95 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2021 NXP
+
+op_type =
+RTE_BBDEV_OP_LDPC_ENC
+
+input0 =
+0xd0dd44b2, 0xe91d434b, 0x17b23d65, 0xb8abd7c1, 0x12d7d41c, 0xce2686c2, 0x402c1efa, 0xc9151fcc,
+0xe00effad, 0xc964d36a, 0xe70e39e3, 0xd86577a2, 0x77e04ae3, 0x9dfd60b9, 0xbf43376f, 0x09841e69,
+0x53a02679, 0x898c65d0, 0x17434cf8, 0x9a3abfe2, 0x05e767ac, 0x902d6156, 0x716046a1, 0x636fc345,
+0xf15b483e, 0x910e40e4, 0x5d32b9a2, 0x8e9514b0, 0x7a218bb8, 0x7665aac3, 0x33a5b20c, 0x8ba7b5e3,
+0x220262e0, 0x7b654c15, 0xa69f1855, 0x6dcf61e3, 0x0036c1aa, 0x7ea806e3, 0x3f9b2ef1, 0x386cdd36,
+0xf94ae7e4, 0xf707e376, 0xb9c90f7b, 0x40bdd41f, 0x03cf6ae8, 0xfbd5b550, 0x03d90ae6, 0x65a6cf09,
+0xa3d70588, 0x26343d97, 0x464981b1, 0xd79f8b30, 0xa554bb7e, 0x524d3a2c, 0x2f75d78c, 0x3148c8d8,
+0xd4cccf4d, 0xc98df39c, 0x7f4fdb2a, 0x831c5ccd, 0xbe46bd67, 0xa9bf0a6b, 0xa726bdcc, 0xd590425d,
+0xa792805b, 0xe4b0518a, 0x18c4bcca, 0xf3891686, 0x3cdee43e, 0xd526e3a9, 0x8112aec6, 0x811151f4,
+0x9763de36, 0x56e50307, 0xa7313051, 0xc40db40a, 0x1931fa6e, 0x5701947d, 0x098ee810, 0x01cec402,
+0x804668f1, 0xc00c41da, 0x02432f4d, 0x072c9643, 0xf23088cc, 0x74620646, 0x281f8a80, 0x2c7a2aa6,
+0xfe8c2f88, 0xe0100f94, 0x9c402559, 0x48f5c34d, 0x59a3b023, 0x2427f7e0, 0xb2f30717, 0x9bf140a6,
+0x3fa4710b, 0xb493a4a2, 0xb16e6135, 0xd75f0e8e, 0xe7ff6b4a, 0x43d9e122, 0xafc5d306, 0xec88d05e,
+0xabfc996a, 0x29644a44, 0xa0c5c9fa, 0xf5836a0b, 0xd2a97513, 0x6986e115, 0x5581b429, 0xd6f8e599,
+0x035a2d9a, 0xe0835100, 0x561d04c5, 0x565f647a, 0xff711c76, 0x6b6fcd71, 0xb08518ac, 0xad407897,
+0x6de25115, 0x8e8fd5f1, 0x67196a81, 0xb6ef576b, 0x5e170674, 0x3cd78132, 0x0be74b19, 0x84f30e7b,
+0x85aa98b6, 0xcfe08810, 0xaa438ec3, 0xe95c3900, 0xafb0c225, 0xbe52bde2, 0xd6dcfec6, 0xccde045b,
+0x4fd00da2, 0x30c377b7, 0x771fdf0b, 0xea5f9282, 0x838dc0bf, 0x3250d0a9, 0xf2190c4d, 0x5ec14787,
+0x32c2d755, 0xe3b9f56c, 0xfb34945e, 0x642dc6c3, 0x8fb96e69, 0x612afce6, 0x17eb0530, 0x2fa9637c,
+0xef1068a6, 0x456c8bcd, 0x65b16eb9, 0xf97d8e92, 0x7b1a46
+
+output0 =
+0x4eda9982, 0x101c74c9, 0x8b63a987, 0x34464588, 0xe27e0cf2, 0x048dd503, 0x6391521b, 0x59f71f1a,
+0x22eeb556, 0x96d43907, 0x69a01acf, 0x3e6a4cb4, 0x7eca9c20, 0x2c3eb162, 0x965294d5, 0x25722e4e,
+0x7d42c4d1, 0x8489d0bf, 0x49c2a83d, 0xa48a3fa4, 0x6ccd783a, 0xd941b110, 0xa937e9e4, 0xc0a45188,
+0xd41b1840, 0x8bf35901, 0x769496e4, 0x91bb2778, 0x7ad8b944, 0xd19208ad, 0x8b519356, 0x7b6e1772,
+0x30982890, 0x1e183f8a, 0xde7b9c46, 0x2ca7c2ce, 0xb9b6e1d7, 0x68a3c466, 0x1ecda75d, 0xb462b570,
+0x2a2a5896, 0xaf6891b1, 0xd4bf3ba3, 0x82969dfa, 0xd0f563fb, 0xb81ff540, 0x7a0b3485, 0x4f6fd016,
+0x7741a613, 0x3f763d0e, 0x7f76a0dc, 0x37f25c1c, 0xf3412fe1, 0x2a75dc51, 0x04827bef, 0xe5a662fd,
+0xa07225f5, 0xbc9117a9, 0x55dbc54c, 0xd9446c00, 0xa8d26de1, 0xa293979e, 0x1ece1b94, 0xa5dd28cb,
+0x13d2655e, 0xa0e4ab01, 0x903c5a2c, 0x58674b7e, 0x0e1c244b, 0xa9e0d342, 0x45fc615f, 0x2971f02a,
+0x116c4e06, 0xf1d97697, 0x64b0a44f, 0xf21b9207, 0x32ddde4e, 0x4df48b05, 0xf0e80c2b, 0x27a14701,
+0x670407a7, 0x0ffd24cd, 0x07432145, 0xfff8c98f, 0x567dacd5, 0xef793abb, 0x29f2c205, 0x6605a7cd,
+0xf1978e96, 0x73ef3ef6, 0x336173ff, 0xaab9b459, 0xb3f4b89c, 0xf1e50d40, 0x76c3fb75, 0xc086001b,
+0x1cdadd3b, 0x0ed448a8, 0x53f9a461, 0x5a318eb9, 0x98d96ab4, 0xb796ead8, 0x6c4ffee6, 0xf5089709,
+0x9d3f7c5d, 0x759e5b2c, 0x1ba452ef, 0xe397683a, 0x38937d85, 0x6467fa0a, 0x3e3d85a9, 0x2be700cc,
+0xb51171ff, 0x27c369b4, 0xb91a6bbe, 0x84043906, 0x2639088d, 0x6c0f43f7, 0x1bdf6c89, 0xf294392a,
+0xf3c7ba93, 0xe9de466a, 0xd234e9a3, 0x94374868, 0xe644c601, 0xe8d30610, 0xc36d3cf7, 0x239d4e49,
+0x61a052ee, 0x333ac761, 0x9b372829, 0xf2cce000, 0x0a649c42, 0x6f20a68f, 0xc6c43664, 0x559c2c5c,
+0xb1d7575e, 0xe840adfe, 0x16bc5314, 0x5f076f74, 0x4a5b208b, 0xceca2331, 0x2f93e7a4, 0x82dc83c1,
+0x7ebccf3d, 0x98e4ca42, 0x6e831fa1, 0x7fe5e47d, 0xc89e7e40, 0x6b169129, 0xe27b1cb7, 0xf5c4d614,
+0xd3ccb7e8, 0x76a89ed6, 0x2cf00fc5, 0x76a1e27a, 0x92a253b5, 0x7c04dbea, 0x4903867d, 0x52a21dd6,
+0x7329e699, 0xbb63a3f1, 0x3425fd9d, 0xa02989ca, 0x2811932e, 0x72a3bf2f, 0xfa37e1ec, 0xa7784122,
+0xa21955d1, 0xa025ba90, 0x6ef13dcc, 0xbaf9c79f, 0x1a6f9ce7, 0x0d57bda5, 0x9caf0dc7, 0x352a0e64,
+0x598cfdc7, 0x8208cf39, 0x90fa0a87, 0xd2dcd4f9, 0xfc54fc60, 0x57ed5faa, 0x73153bc4, 0xf7e39009,
+0x3021d00b, 0x4d0f0afb, 0xd77a18ee, 0xa8e7
+
+basegraph=
+2
+
+z_c=
+256
+
+n_cb=
+12800
+
+q_m=
+2
+
+n_filler=
+16
+
+ea =
+3000
+
+eb =
+3000
+
+c =
+2
+
+r =
+0
+
+cab =
+0
+
+rv_index =
+0
+
+code_block_mode =
+0
+
+op_flags =
+RTE_BBDEV_LDPC_CRC_24B_ATTACH
+
+expected_status =
+OK