From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 8BC1BA034C;
	Fri, 19 Aug 2022 20:39:43 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id EAAEB42C02;
	Fri, 19 Aug 2022 20:36:43 +0200 (CEST)
Received: from mga01.intel.com (mga01.intel.com [192.55.52.88])
 by mails.dpdk.org (Postfix) with ESMTP id 6F3C142B96
 for <dev@dpdk.org>; Fri, 19 Aug 2022 20:36:26 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
 d=intel.com; i=@intel.com; q=dns/txt; s=Intel;
 t=1660934186; x=1692470186;
 h=from:to:cc:subject:date:message-id:in-reply-to:
 references:mime-version:content-transfer-encoding;
 bh=2pUPP2TDPbC3xJhf5nw5Zu65Q/9gu+p5XV2B0ZEnrbY=;
 b=Z6iDYItXlhgGDaoBQVGp2a18nq3Z83wxSJ6sfWL2iB4D5ncQbQNwkiyG
 7Ne1R6MGLtWzQSvwAxwhJ/OGlsCHRfBpH8bHfCeN4s7wt/Jd25IO9DHV1
 7phdoM0+e0IXvEMF3qe92zKiBe+cgKrLy4bQ6mJDZUruD9ymHXIgzO6Nt
 CiPscILEWRve2dS1/VwUzqScEMr4dPMJf/B7+5Cj0cLA56N2jQPRkWifz
 npfYvBE1HwIp+7H0TIWtXDFmNU7S/S8fo59XxXvVkG55Y9pFXQfxVF1O+
 oCmMRcEXGs6H/EF2R9E43jdQiQ1RKiVcyxJ4fleCUyyfE7whWpON/4T2q Q==;
X-IronPort-AV: E=McAfee;i="6500,9779,10444"; a="319107322"
X-IronPort-AV: E=Sophos;i="5.93,248,1654585200"; d="scan'208";a="319107322"
Received: from orsmga002.jf.intel.com ([10.7.209.21])
 by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;
 19 Aug 2022 11:36:26 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.93,248,1654585200"; d="scan'208";a="608296355"
Received: from unknown (HELO csl-npg-qt0.la.intel.com) ([10.233.181.103])
 by orsmga002.jf.intel.com with ESMTP; 19 Aug 2022 11:36:25 -0700
From: Hernan Vargas <hernan.vargas@intel.com>
To: dev@dpdk.org,
	gakhil@marvell.com,
	trix@redhat.com
Cc: nicolas.chautru@intel.com, qi.z.zhang@intel.com,
 Hernan Vargas <hernan.vargas@intel.com>
Subject: [PATCH v2 32/37] baseband/acc100: fix debug print for LDPC FCW
Date: Fri, 19 Aug 2022 19:31:52 -0700
Message-Id: <20220820023157.189047-33-hernan.vargas@intel.com>
X-Mailer: git-send-email 2.37.1
In-Reply-To: <20220820023157.189047-1-hernan.vargas@intel.com>
References: <20220820023157.189047-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 <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Print full size of FCW LDPC structure on debug messages.
This is just a cosmetic fix, no need to fix on previous code base.

Signed-off-by: Hernan Vargas <hernan.vargas@intel.com>
---
 drivers/baseband/acc100/rte_acc100_pmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/baseband/acc100/rte_acc100_pmd.c b/drivers/baseband/acc100/rte_acc100_pmd.c
index 4596f5df42..0e72bc1f57 100644
--- a/drivers/baseband/acc100/rte_acc100_pmd.c
+++ b/drivers/baseband/acc100/rte_acc100_pmd.c
@@ -3856,7 +3856,7 @@ enqueue_ldpc_dec_one_op_cb(struct acc100_queue *q, struct rte_bbdev_dec_op *op,
 
 #ifdef RTE_LIBRTE_BBDEV_DEBUG
 	rte_memdump(stderr, "FCW", &desc->req.fcw_ld,
-			sizeof(desc->req.fcw_ld) - 8);
+			sizeof(desc->req.fcw_ld));
 	rte_memdump(stderr, "Req Desc.", desc, sizeof(*desc));
 #endif
 
-- 
2.37.1