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 0FEF8A00C2; Tue, 9 Aug 2022 12:55:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 77AFA42BB4; Tue, 9 Aug 2022 12:54:45 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id CC51F42BA7 for ; Tue, 9 Aug 2022 12:54:43 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 2791T1GE017014 for ; Tue, 9 Aug 2022 03:54:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=yzdtJukYBBK498KjRKiFJONTbglThZ/kE5vR9MfKkvg=; b=BNf/CMmEte1caFRvEVf7QftsyepsE9o6corbUCCYRr2vXIW85n/zCyoXTSiC0Botqdaq 9LK4UStImoxEKC+J4vP4r09w9swQ2JVUVGvnoIZ1zdnkGHqqiETLxgHGkm/70Fr/gsxX umjuPOiFBGjuIBsdqCq1VHL0ayN5aECTr8P9QbdbHRzPTJLAUQ3X8778nqUHIZ8hOZhq aGrdt2ahhvySYfjravUvnu1sgolC6WeD4c5ohej/uyquZiiKC08T66cG+zSArVA6+3sb KcyK2XEcfxNpi51o399lieRL1R3/dInVhY6gOmJ+v/vXfdpknOb/yF+fizPqmJcgtXDi tQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3hudy6spkb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Tue, 09 Aug 2022 03:54:43 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Tue, 9 Aug 2022 03:54:41 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 9 Aug 2022 03:54:41 -0700 Received: from BG-LT92004.corp.innovium.com (unknown [10.193.69.70]) by maili.marvell.com (Postfix) with ESMTP id 076CE3F7048; Tue, 9 Aug 2022 03:54:38 -0700 (PDT) From: Anoob Joseph To: Akhil Goyal , Jerin Jacob CC: Shijith Thotton , Archana Muniganti , Tejasree Kondoj , Subject: [PATCH v2 16/18] drivers: change crypto adapter datapath error print to debug Date: Tue, 9 Aug 2022 16:23:54 +0530 Message-ID: <20220809105356.561-17-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220809105356.561-1-anoobj@marvell.com> References: <20220808080606.220-1-anoobj@marvell.com> <20220809105356.561-1-anoobj@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: vOWuHrSihvwJOra-f1XSVIWZCLIGjz9Y X-Proofpoint-ORIG-GUID: vOWuHrSihvwJOra-f1XSVIWZCLIGjz9Y X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-09_03,2022-08-09_02,2022-06-22_01 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 From: Shijith Thotton Errors in crypto adapter datapath can be handled gracefully. So the error print can be moved under debug. Signed-off-by: Shijith Thotton --- drivers/common/cnxk/roc_platform.h | 2 ++ drivers/crypto/cnxk/cn10k_cryptodev_ops.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/common/cnxk/roc_platform.h b/drivers/common/cnxk/roc_platform.h index 502f243a81..0cde3e0cc3 100644 --- a/drivers/common/cnxk/roc_platform.h +++ b/drivers/common/cnxk/roc_platform.h @@ -269,6 +269,8 @@ extern int cnxk_logtype_ree; RTE_LOG_DP(ERR, PMD, "%s():%u " fmt "\n", __func__, __LINE__, ##args) #define plt_dp_info(fmt, args...) \ RTE_LOG_DP(INFO, PMD, "%s():%u " fmt "\n", __func__, __LINE__, ##args) +#define plt_dp_dbg(fmt, args...) \ + RTE_LOG_DP(DEBUG, PMD, "%s():%u " fmt "\n", __func__, __LINE__, ##args) #ifdef __cplusplus #define CNXK_PCI_ID(subsystem_dev, dev) \ diff --git a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c index 1b70d02e2a..586941cd70 100644 --- a/drivers/crypto/cnxk/cn10k_cryptodev_ops.c +++ b/drivers/crypto/cnxk/cn10k_cryptodev_ops.c @@ -412,7 +412,7 @@ ca_lmtst_burst_submit(struct cn10k_sso_hws *ws, uint64_t w2[], struct cnxk_cpt_q ret = cn10k_cpt_fill_inst(qp, &op[i], inst, infl_req); if (unlikely(ret != 1)) { - plt_dp_err("Could not process op: %p", op[i]); + plt_dp_dbg("Could not process op: %p", op[i]); if (i != 0) goto submit; else -- 2.25.1