[v5,03/10] baseband/turbo_sw: fix the exposed LLR decimals assumption
diff mbox series

Message ID 1585193268-74468-4-git-send-email-nicolas.chautru@intel.com
State Accepted
Delegated to: akhil goyal
Headers show
Series
  • bbdev new features
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Chautru, Nicolas March 26, 2020, 3:27 a.m. UTC
From: Nic Chautru <nicolas.chautru@intel.com>

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")

Signed-off-by: Nic Chautru <nicolas.chautru@intel.com>
---
 drivers/baseband/turbo_sw/bbdev_turbo_software.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dave Burley March 27, 2020, 11:45 a.m. UTC | #1
Acked-by: Dave Burley <dave.burley@accelercomm.com>

On 26/03/2020 03:27, Nicolas Chautru wrote:
> From: Nic Chautru <nicolas.chautru@intel.com>
>
> 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")
>
> Signed-off-by: Nic Chautru <nicolas.chautru@intel.com>
> ---
>   drivers/baseband/turbo_sw/bbdev_turbo_software.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
> index 6d5e080..5ca8ca1 100644
> --- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c
> +++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
> @@ -218,7 +218,7 @@ struct turbo_sw_queue {
>   					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 =

Patch
diff mbox series

diff --git a/drivers/baseband/turbo_sw/bbdev_turbo_software.c b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
index 6d5e080..5ca8ca1 100644
--- a/drivers/baseband/turbo_sw/bbdev_turbo_software.c
+++ b/drivers/baseband/turbo_sw/bbdev_turbo_software.c
@@ -218,7 +218,7 @@  struct turbo_sw_queue {
 					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 =