From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 833C1A0548; Tue, 11 Oct 2022 20:59:40 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6239442C2C; Tue, 11 Oct 2022 20:57:45 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 7B4B442BD3 for ; Tue, 11 Oct 2022 20:57:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665514651; x=1697050651; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=uoceTR0kxUvgo152lelMnoTbFQi9TiTv7thxemsVwUc=; b=Te74aLq4JAO8Ax5+GrH/fdCt/xT04rfAfzApxFkfv0S9EWQqHbQMYNCn DO33DQ6bKbnFqfobxgFG9xhzlcBDpY7JHJrbz2fkEMsDP24jQaSw8QvLu 70Vq0EqpF3UwFc0MR4Pd1IefPF6qIQuqc9EaKRowwJye8uUm8fXt3j0r3 0vvC3dilV50I6poTtmjIeT64xd//W9aYEbMJSJHNymkMphplWUse9oYyO DMIilLaALWoxvE4ny6aAclajvQZQkBRC2OaMaq0rN3GBcqXLtnubE9EK8 QP8Khn29FdNQdAtMJN4Ez9lDBFOlGThI/nq+no30yGM2C3St9SN3xCBUV w==; X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="284981657" X-IronPort-AV: E=Sophos;i="5.95,177,1661842800"; d="scan'208";a="284981657" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 11:57:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="604261583" X-IronPort-AV: E=Sophos;i="5.95,177,1661842800"; d="scan'208";a="604261583" Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103]) by orsmga006.jf.intel.com with ESMTP; 11 Oct 2022 11:57:30 -0700 From: Hernan Vargas To: dev@dpdk.org, gakhil@marvell.com, trix@redhat.com, maxime.coquelin@redhat.com Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com, Hernan Vargas Subject: [PATCH v3 23/30] baseband/acc100: update uplink CB input length Date: Tue, 11 Oct 2022 19:53:39 -0700 Message-Id: <20221012025346.204394-24-hernan.vargas@intel.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20221012025346.204394-1-hernan.vargas@intel.com> References: <20221012025346.204394-1-hernan.vargas@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Use the FCW E parameter for rate matching as the code block input length. Signed-off-by: Hernan Vargas Reviewed-by: Maxime Coquelin --- drivers/baseband/acc/rte_acc100_pmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/baseband/acc/rte_acc100_pmd.c b/drivers/baseband/acc/rte_acc100_pmd.c index 269d8295c2..e0d22525e9 100644 --- a/drivers/baseband/acc/rte_acc100_pmd.c +++ b/drivers/baseband/acc/rte_acc100_pmd.c @@ -1697,7 +1697,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; -- 2.37.1