[PATCH v2 23/37] baseband/acc100: update uplink CB input length

Maxime Coquelin maxime.coquelin at redhat.com
Thu Sep 15 12:12:38 CEST 2022



On 8/20/22 04:31, Hernan Vargas wrote:
> Use the FCW E parameter for rate matching as the code block input
> length.
> 
> Signed-off-by: Hernan Vargas <hernan.vargas at intel.com>
> ---
>   drivers/baseband/acc100/rte_acc100_pmd.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc100/rte_acc100_pmd.c
> index d67495ac52..0389768a6f 100644
> --- a/drivers/baseband/acc100/rte_acc100_pmd.c
> +++ b/drivers/baseband/acc100/rte_acc100_pmd.c
> @@ -2163,7 +2163,7 @@ acc100_dma_desc_ld_fill(struct rte_bbdev_dec_op *op,
>   		crc24_overlap = 24;
>   
>   	/* Compute some LDPC BG lengths */
> -	input_length = dec->cb_params.e;
> +	input_length = fcw->rm_e;
>   	if (check_bit(op->ldpc_dec.op_flags,
>   			RTE_BBDEV_LDPC_LLR_COMPRESSION))
>   		input_length = (input_length * 3 + 3) / 4;

Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Thanks,
Maxime



More information about the dev mailing list