baseband/acc100: fix 4GUL outbound size

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 <nicolas.chautru@intel.com>
Reviewed-by: Tom Rix <trix@redhat.com>
This commit is contained in:
Nicolas Chautru 2021-09-07 18:39:40 -07:00 committed by Akhil Goyal
parent 5f13f4c03d
commit b0df6b29e7

View File

@ -1749,7 +1749,7 @@ acc100_dma_desc_td_fill(struct rte_bbdev_dec_op *op,
next_triplet = acc100_dma_fill_blk_type_out(
desc, h_output, *h_out_offset,
k >> 3, next_triplet,
(k - crc24_overlap) >> 3, next_triplet,
ACC100_DMA_BLKID_OUT_HARD);
if (unlikely(next_triplet < 0)) {
rte_bbdev_log(ERR,