On 9/29/23 20:13, Hernan Vargas wrote:
Add support for LDPC encoder concatenation configuration from the test vector. Signed-off-by: Hernan Vargas <hernan.var...@intel.com> --- app/test-bbdev/test_bbdev_vector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-bbdev/test_bbdev_vector.c b/app/test-bbdev/test_bbdev_vector.c index c26727cd35c4..0ef1481f2af3 100644 --- a/app/test-bbdev/test_bbdev_vector.c +++ b/app/test-bbdev/test_bbdev_vector.c @@ -284,8 +284,10 @@ op_ldpc_encoder_flag_strtoul(char *token, uint32_t *op_flag_value) *op_flag_value = RTE_BBDEV_LDPC_ENC_INTERRUPTS; else if (!strcmp(token, "RTE_BBDEV_LDPC_ENC_SCATTER_GATHER")) *op_flag_value = RTE_BBDEV_LDPC_ENC_SCATTER_GATHER; + else if (!strcmp(token, "RTE_BBDEV_LDPC_ENC_CONCATENATION")) + *op_flag_value = RTE_BBDEV_LDPC_ENC_CONCATENATION; else { - printf("The given value is not a turbo encoder flag\n"); + printf("The given value is not a LDPC encoder flag - %s\n", token); return -1; }
Reviewed-by: Maxime Coquelin <maxime.coque...@redhat.com> Thanks, Maxime