From patchwork Wed Sep 13 14:01:24 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 131401 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2E7F74258A; Wed, 13 Sep 2023 16:01:46 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE28340633; Wed, 13 Sep 2023 16:01:45 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 5DCA240284 for ; Wed, 13 Sep 2023 16:01:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1694613703; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fpzF+4UZkL2J9TA9foOYhmNAjX29xADbh3lOd+RK+bM=; b=UOwd4nnBBZHzLGj9PI8Z3nTmJ1WwmVOGI4HrnA1aGVacMIyW5ztYFAO1QYzKus3yzS6CvE xvmnXg3WVS8kXAZA3Co1LX5H1d3309IXTadfMju4GFRL2d8TTBrqhgx6I9cqpOnPQuPza8 jZd6XIQK2fcQrbl6ReuDqHOig/LHJcA= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-320-lVEBNgPiOI-fc7NCzOp4SA-1; Wed, 13 Sep 2023 10:01:40 -0400 X-MC-Unique: lVEBNgPiOI-fc7NCzOp4SA-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 631A88D1D99; Wed, 13 Sep 2023 14:01:32 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.89]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6A6A210F1BE7; Wed, 13 Sep 2023 14:01:31 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Gagandeep Singh , Hemant Agrawal Subject: [PATCH 2/2] crypto/dpaa_sec: fix debug prints Date: Wed, 13 Sep 2023 15:01:24 +0100 Message-ID: <20230913140124.809760-2-david.marchand@redhat.com> In-Reply-To: <20230913140124.809760-1-david.marchand@redhat.com> References: <20230913140124.809760-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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 RTE_LIBRTE_SECURITY has been replaced with RTE_LIB_SECURITY for a while now. Fixes: b1bbf222bef1 ("crypto/dpaa_sec: add debug prints") Cc: stable@dpdk.org Signed-off-by: David Marchand --- drivers/crypto/dpaa_sec/dpaa_sec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index 7d47c32693..f3f565826f 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -666,7 +666,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp) if (op->sess_type == RTE_CRYPTO_OP_WITH_SESSION) sess = CRYPTODEV_GET_SYM_SESS_PRIV(op->sym->session); -#ifdef RTE_LIBRTE_SECURITY +#ifdef RTE_LIB_SECURITY else if (op->sess_type == RTE_CRYPTO_OP_SECURITY_SESSION) sess = SECURITY_GET_SESS_PRIV(op->sym->session); #endif @@ -677,7 +677,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp) cdb = &sess->cdb; rte_memcpy(&c_cdb, cdb, sizeof(struct sec_cdb)); -#ifdef RTE_LIBRTE_SECURITY +#ifdef RTE_LIB_SECURITY printf("\nsession protocol type = %d\n", sess->proto_alg); #endif printf("\n****************************************\n" @@ -702,7 +702,7 @@ dpaa_sec_dump(struct dpaa_sec_op_ctx *ctx, struct dpaa_sec_qp *qp) sess->iv.length, sess->iv.offset, sess->digest_length, sess->auth_only_len, sess->auth_cipher_text); -#ifdef RTE_LIBRTE_SECURITY +#ifdef RTE_LIB_SECURITY printf("PDCP session params:\n" "\tDomain:\t\t%d\n\tBearer:\t\t%d\n\tpkt_dir:\t%d\n\thfn_ovd:" "\t%d\n\tsn_size:\t%d\n\tsdap_enabled:\t%d\n\thfn_ovd_offset:"