Thread (5 messages) 5 messages, 3 authors, 2021-10-05

Re: [dpdk-dev] [PATCH v1] baseband/acc100: fix 4GUL outbound size when CRC is dropped

flat view

From: Chautru, Nicolas <hidden>
Date: 2021-10-04 23:39:23

Hi Akhil, 
Can this be applied?
Thanks
Nic
-----Original Message-----
From: Tom Rix <trix@redhat.com>
Sent: Saturday, September 11, 2021 12:19 PM
To: Chautru, Nicolas <redacted>; dev@dpdk.org;
gakhil@marvell.com
Cc: thomas@monjalon.net; Zhang, Mingshan <redacted>;
Joshi, Arun [off-list ref]; stable@dpdk.org
Subject: Re: [PATCH v1] baseband/acc100: fix 4GUL outbound size when CRC
is dropped


On 9/7/21 6:39 PM, Nicolas Chautru wrote:
quoted
This patch fixes the issue by adjusting the outbound size after
turbodecoding when the appended CRC is meant to be dropped.

Fixes: f404dfe35cc3 ("baseband/acc100: support 4G processing")
Cc: stable@dpdk.org

Signed-off-by: Nicolas Chautru <redacted>
---
  drivers/baseband/acc100/rte_acc100_pmd.c | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c
b/drivers/baseband/acc100/rte_acc100_pmd.c
index 68ba523..b0485e7 100644
--- a/drivers/baseband/acc100/rte_acc100_pmd.c
+++ b/drivers/baseband/acc100/rte_acc100_pmd.c
@@ -1744,7 +1744,8 @@

  	next_triplet = acc100_dma_fill_blk_type_out(
  			desc, h_output, *h_out_offset,
-			k >> 3, next_triplet,
ACC100_DMA_BLKID_OUT_HARD);
quoted
+			(k - crc24_overlap) >> 3, next_triplet,
+			ACC100_DMA_BLKID_OUT_HARD);
  	if (unlikely(next_triplet < 0)) {
  		rte_bbdev_log(ERR,
  				"Mismatch between data to process and
mbuf data length in
quoted
bbdev_op: %p",
Thanks for this change, looks good.

Reviewed-by: Tom Rix <trix@redhat.com>
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help