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 EB20F41C56; Fri, 10 Feb 2023 01:22:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E46A642C54; Fri, 10 Feb 2023 01:22:35 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by mails.dpdk.org (Postfix) with ESMTP id EC6F042D10 for ; Fri, 10 Feb 2023 01:22:31 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id a23so2667721pga.13 for ; Thu, 09 Feb 2023 16:22:31 -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=6lj59YnXh6oIRhhhMio0GdpgF5OK3PThKOVk1dyobthT4b9AsuZHiFLT7meG2SeezQ SZGWq2MICOn3/GxNyzYgCCC8B41yobEoD0OeMJjm5PYAcGF6FdCoS7xyOhaYJcmE7Ydw mAesaLHejcciePhwMSwTfApKvhHAJ4epbQx8Ot7XNkQ523T8YqvrsK+jnhOmy19qCzle NwdJRSKMU5CDzbg4nF0ei6Zzs7+uTlledxkRi6PFfuYxmAYxIFxe2ReSYCL6jb0Oo+Rl 5qf9odRqqy6Azr53+fNx+ZtlR7jK6vmPMo8nTsg3dz3PdwYHEOyBT6xxMO0A/ubj+YFG 3ryg== 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=8Qn8KCXSjdo99d2GGFrIgc4nja6oK632WXC4V5DqgYg5USDIkkVDBweuJ6CIdiwF61 WPgtWvFGw6p0OhSw0RWjwEffSyewqEbV/Tia8iteMm0Q+OyyENygL9EC0HYxzk8n4fDz RYfFZrjtITGyzB25u4ZsEq269CQvTMM9V8NsJh4I+MZecM26Kk+JcYieJBujdm/QAmph nOEo4LZKvZbe3tNXsFL6EoYcOGzgpULEC7+mF8E4lJS/pdrkUZLMigycVx9mxMpkUl91 OKG0GWyIIYDtJnMc2LWzixdro6F3XM+vsLBBCHL7jiySVsuuE9uOh2Qw+ogJ2xskQazm gWFg== X-Gm-Message-State: AO0yUKX1V76VTqsbgSFH1MzB9DhNlmeqXYmYBC4nb4o8qY1Qrx0dc7dR +fQOPK4uTzfQeLZ75YuN3wIOG82NNI9xhuMDsJw= X-Google-Smtp-Source: AK7set/4mGFQLKDdCy3DNaFUzT2hDdkRUB1/HfbHE4/yCh3KSbKOHWueWX6NBP7EV65M1JtbH+RacA== X-Received: by 2002:aa7:9533:0:b0:5a8:492d:1eae with SMTP id c19-20020aa79533000000b005a8492d1eaemr5737107pfp.18.1675988550882; Thu, 09 Feb 2023 16:22:30 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id g9-20020aa78749000000b005907664a3eesm1986639pfo.125.2023.02.09.16.22.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Feb 2023 16:22:30 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , kai.ji@intel.com, Pablo de Lara , Arkadiusz Kusztal Subject: [PATCH v3 5/5] ipsec: fix usage of RTE_LOGTYPE_USER1 Date: Thu, 9 Feb 2023 16:22:22 -0800 Message-Id: <20230210002222.812379-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230210002222.812379-1-stephen@networkplumber.org> References: <20230208044825.1682620-1-stephen@networkplumber.org> <20230210002222.812379-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