From: Nicolas Chautru Date: Thu, 26 Mar 2020 03:27:41 +0000 (-0700) Subject: baseband/turbo_sw: fix exposed LLR decimals assumption X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e9381a822a0b0eb3ea4566dc21f8073a9a4d1e2f;p=dpdk.git baseband/turbo_sw: fix exposed LLR decimals assumption The actual LLR representation was incorrectly assumed to be 2 instead of 4. This would impact wireless performance but is not critical to be back ported on LTS branches. Fixes: c769c711757a ("baseband/turbo_sw: extend for 5G") Cc: stable@dpdk.org Signed-off-by: Nicolas Chautru Acked-by: Dave Burley Acked-by: Akhil Goyal --- diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c index 6d5e08095a..5ca8ca1c20 100644 --- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c +++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c @@ -218,7 +218,7 @@ info_get(struct rte_bbdev *dev, struct rte_bbdev_driver_info *dev_info) RTE_BBDEV_LDPC_HQ_COMBINE_OUT_ENABLE | RTE_BBDEV_LDPC_ITERATION_STOP_ENABLE, .llr_size = 8, - .llr_decimals = 2, + .llr_decimals = 4, .num_buffers_src = RTE_BBDEV_LDPC_MAX_CODE_BLOCKS, .num_buffers_hard_out =