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 BF71B4373D; Mon, 18 Dec 2023 20:28:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EC5D42E03; Mon, 18 Dec 2023 20:26:57 +0100 (CET) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 07BDB42DE1 for ; Mon, 18 Dec 2023 20:26:51 +0100 (CET) Received: by mail-pj1-f44.google.com with SMTP id 98e67ed59e1d1-28b79d1ebd6so802716a91.1 for ; Mon, 18 Dec 2023 11:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702927610; x=1703532410; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=DZqEUKrXA9Lfv8XBFKRDWUAzzrBbWhs7lZ3yDBSTDl8=; b=2EyKyvB4aFnQe96727C7MOGid1IzDYl7gXlhaDP9nyn+k9MunCH/YJ13dhg7X+Ahut iU0So3hP1SM/KL9bblYusQ+0z2nvn/xA0Yi65h5vAUmvldlTj5Eu2hmuujx8UixL9BaV BWSRPp3eu3lRrkEymC+8ApUYtfvotMlxU8KuyTCqK8uvMNLgDtEs5ETcPsEcJGGLZUp+ Mv8fQjuehi6vTTjUkQpNjRPYv86flDNZqfGdLgEhha41wf+kICQKWzQycPe2mxMZT74B UnhrhAPv1fxNvHLcB5bropQijNS9FZGix+OQkfmudAovWH6flYBiKWZIULY34lGwTkUM CGNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702927610; x=1703532410; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=DZqEUKrXA9Lfv8XBFKRDWUAzzrBbWhs7lZ3yDBSTDl8=; b=FPPMJtuxF/gxTkx5mAQ3RS47VzKUOgcvff3TImfxGVpknwtRALJorEmFm8ZU/z8oY5 NhCRyI/eQnGvbZ/kmTH8GMUaFmbspqKdcn8fJRzOBxK4u650FUISdPQhxac4fUnl+Q13 ozyb748nuqI4oFTvqszxGsgnoqeOns99VAn9FkRPB1t9HS7SOqJlSwXpye4wCckYKK2S QTvf4KcDO2kynYVfMoUkLQjH2B5YRQ0PDj0Of6URvx+cQ9aoRFRW6BPyM1B96AxlRbpf ubOkcnMYmUiaxcXBxlvRy4rU98YgSDK5UJMLO+rrnKJ2A67vxdvS8GCw92rY9FPG1KIv G6TA== X-Gm-Message-State: AOJu0YzFWTD7R4bjtTM7Mr27ifYGIovypSzOecOBRQWGwl+C5rindmU9 AJyNya6TNBV7/hWk+Gfm/YoBGuXcobV7WZyXLKxB/g== X-Google-Smtp-Source: AGHT+IH7TzYihPoaxMGpp1iJ+PMiHO+3l0Zbh2jUt/n/iW405mfykS63nz8Twckt9iz+nrZSWRa5DQ== X-Received: by 2002:a17:90b:e88:b0:28b:790f:35b2 with SMTP id fv8-20020a17090b0e8800b0028b790f35b2mr892353pjb.44.1702927610281; Mon, 18 Dec 2023 11:26:50 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p17-20020a170903249100b001cfbe348ca5sm19410284plw.187.2023.12.18.11.26.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 11:26:49 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 11/17] crypto/dpaa_sec, crypto/dpaa2_sec: use dedicated logtype Date: Mon, 18 Dec 2023 11:22:27 -0800 Message-ID: <20231218192631.699267-12-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218192631.699267-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231218192631.699267-1-stephen@networkplumber.org> 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 A couple of messages were using RTE_LOGTYPE_PMD when dedicated logtype was already available. Fixes: fe3688ba7950 ("crypto/dpaa_sec: support event crypto adapter") Fixes: bffc7d561c81 ("crypto/dpaa2_sec: support event crypto adapter") Signed-off-by: Stephen Hemminger --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 +++--- drivers/crypto/dpaa_sec/dpaa_sec.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index bb5a2c629e53..1cae6c45059e 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -4153,7 +4153,7 @@ dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, ret = dpseci_set_opr(dpseci, CMD_PRI_LOW, priv->token, qp_id, OPR_OPT_CREATE, &ocfg); if (ret) { - RTE_LOG(ERR, PMD, "Error setting opr: ret: %d\n", ret); + DPAA2_SEC_ERR("Error setting opr: ret: %d", ret); return ret; } qp->tx_vq.cb_eqresp_free = dpaa2_sec_free_eqresp_buf; @@ -4163,7 +4163,7 @@ dpaa2_sec_eventq_attach(const struct rte_cryptodev *dev, ret = dpseci_set_rx_queue(dpseci, CMD_PRI_LOW, priv->token, qp_id, &cfg); if (ret) { - RTE_LOG(ERR, PMD, "Error in dpseci_set_queue: ret: %d\n", ret); + DPAA2_SEC_ERR("Error in dpseci_set_queue: ret: %d", ret); return ret; } @@ -4188,7 +4188,7 @@ dpaa2_sec_eventq_detach(const struct rte_cryptodev *dev, ret = dpseci_set_rx_queue(dpseci, CMD_PRI_LOW, priv->token, qp_id, &cfg); if (ret) - RTE_LOG(ERR, PMD, "Error in dpseci_set_queue: ret: %d\n", ret); + DPAA2_SEC_ERR("Error in dpseci_set_queue: ret: %d", ret); return ret; } diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.c b/drivers/crypto/dpaa_sec/dpaa_sec.c index a301e8edb2a4..3008ca4dc2f7 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.c +++ b/drivers/crypto/dpaa_sec/dpaa_sec.c @@ -3518,7 +3518,7 @@ dpaa_sec_eventq_detach(const struct rte_cryptodev *dev, qman_oos_fq(&qp->outq); ret = qman_init_fq(&qp->outq, 0, &opts); if (ret) - RTE_LOG(ERR, PMD, "Error in qman_init_fq: ret: %d\n", ret); + DPAA_SEC_ERR("Error in qman_init_fq: ret: %d\n", ret); qp->outq.cb.dqrr = NULL; return ret; @@ -3709,7 +3709,7 @@ dpaa_sec_dev_init(struct rte_cryptodev *cryptodev) dpaa_sec_get_devargs(cryptodev->device->devargs, DRIVER_DUMP_MODE); - RTE_LOG(INFO, PMD, "%s cryptodev init\n", cryptodev->data->name); + DPAA_SEC_INFO("%s cryptodev init\n", cryptodev->data->name); return 0; init_error: -- 2.43.0