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 EE8CB41CEE; Mon, 20 Feb 2023 19:50:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AF331430F2; Mon, 20 Feb 2023 19:50:15 +0100 (CET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id A55A3430D1 for ; Mon, 20 Feb 2023 19:50:08 +0100 (CET) Received: by mail-pl1-f179.google.com with SMTP id l15so3679268pls.1 for ; Mon, 20 Feb 2023 10:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=XQmC9K3TeXMgFqeLevvNO7XT0CzfA3gO5d2+9bnbNsc=; b=S5WJgS6vrMMGRBRz4YlJWYJNASL4A+wTkKw5jpON+1sAp5PMwii+wIXeO2+tjjUf7B rLAYqYNgya420DHiJA3sZBk1jV5Zc0wMBtRvz6t11xWADnV07EIIRrhd5JEpJb/4pNJ7 Ai6/Yc4xBuGSitouPeID9GmBzVOBq7IVA7TCRuYUd1tHwmLZcjtQKkQnWUXHs1r6wTgG lqahwLL68hUKnX2wMT7O+0UngxMt7Bcv4avrFoEAmtMlSjeues9Fhl9qEtRWXeJKbraG O+ZIR421DzmNbMdfmf8a2+sQ3j8Wo/1Qz7LsjSYsiVhW0AOSeFhwtrdFtToFwc47pAAa bWUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=XQmC9K3TeXMgFqeLevvNO7XT0CzfA3gO5d2+9bnbNsc=; b=EVq37asNlMDpLpk2MWcMOaqY4L5SO38ejtmk+gLCkw5/ONzI5b72xLitZAAxwZeULG I73AJMDOHsFB6K3dKP210rZfK1A7IHGA/IE5cTVROJCRhGW0WDRMHFC93Smy3v01VXX8 ADpsTMQa/QrxEBmGv+n/jBkGQN9ndNg5Mj1ewrSWST9andpwVxDORyq3qeg0EZ3ZO2V9 v9eczmrQVk/ABLMleosvQbmRseLGo+9dx5/DI8hNeQFwUEuljdGRiWvQi2ZXouHA6n6C aWOSyrL2LXRQeSz9O5XcrcQlgEZPoAJAO3l1v4sANDLtxZAPucCbOPI9bcjyGXExOo7a UqrQ== X-Gm-Message-State: AO0yUKU2TLhpOexuRHWt9CZPr87q95ymaLUBYQaKg3QRoTW2r2ZQVuay KPzM/e3e4WtISBjkeeqirtcWGCa8ThHd8dB03Qc= X-Google-Smtp-Source: AK7set/TDtRHh6e6WB+ZXSwBlKswdOASfDb67EY/9jLutXytXi5UbZldWSfN/0RHKcxAIlSHa2iTiA== X-Received: by 2002:a17:903:24f:b0:19a:906a:e052 with SMTP id j15-20020a170903024f00b0019a906ae052mr1847531plh.64.1676919007646; Mon, 20 Feb 2023 10:50:07 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id n21-20020a170902969500b0019607547f29sm2020798plp.304.2023.02.20.10.50.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 10:50:07 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , kai.ji@intel.com Subject: [PATCH v6 5/5] ipsec: fix usage of RTE_LOGTYPE_USER1 Date: Mon, 20 Feb 2023 10:50:01 -0800 Message-Id: <20230220185001.50714-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230220185001.50714-1-stephen@networkplumber.org> References: <20230208044825.1682620-1-stephen@networkplumber.org> <20230220185001.50714-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 There already is a logtype in this driver, use it! Fixes: b35848bc01f6 ("crypto/ipsec_mb: add multi-process IPC request handler") Cc: kai.ji@intel.com Signed-off-by: Stephen Hemminger --- drivers/crypto/ipsec_mb/ipsec_mb_ops.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/ipsec_mb/ipsec_mb_ops.c b/drivers/crypto/ipsec_mb/ipsec_mb_ops.c index 3e52f9567401..e9eb0d15b794 100644 --- a/drivers/crypto/ipsec_mb/ipsec_mb_ops.c +++ b/drivers/crypto/ipsec_mb/ipsec_mb_ops.c @@ -7,6 +7,7 @@ #include #include +#include #include "ipsec_mb_private.h" @@ -125,7 +126,7 @@ ipsec_mb_secondary_qp_op(int dev_id, int qp_id, qp_req_msg.num_fds = 0; ret = rte_mp_request_sync(&qp_req_msg, &qp_resp, &ts); if (ret) { - RTE_LOG(ERR, USER1, "Create MR request to primary process failed."); + IPSEC_MB_LOG(ERR, "Create MR request to primary process failed."); return -1; } qp_resp_msg = &qp_resp.msgs[0]; -- 2.39.1