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 ADD6C41C50; Fri, 10 Feb 2023 18:16:19 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 223AE42D35; Fri, 10 Feb 2023 18:15:54 +0100 (CET) Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) by mails.dpdk.org (Postfix) with ESMTP id EBCD3410EA for ; Fri, 10 Feb 2023 18:15:50 +0100 (CET) Received: by mail-pj1-f41.google.com with SMTP id o13so5844755pjg.2 for ; Fri, 10 Feb 2023 09:15:50 -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=r+rHTJZdz4P7OgFX5iKTdlKRDR5FHh8Q5UVKQ3YWAF3hBoUXz2EihGT8PMWMpBy/3i FECU3556UQ/jjK/SFDvGp7bcSx2fRqx7WCOmUkgfkUYEDnW2nPCVIZMJCMD3o2coS6TM wPPPqnetE8ad4NokxE9nroNvjF7Xin4U5f3s/0rx/dDFCCXzcE/44XTQyDUu2oHGGM8M wfyMJOm+HH1ihAys5mM/SEaQWm19L7kQBCUkIPaouF2Zas/Jfu+EqKEsGpvRsSDc164F g0NQNR+TiQdtiD6rCxPypvbCcf9KnVe8bbgWU48feTDUaeBVG11HODDRaL6BUdLZFZpN bUww== 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=uKnT5QqeD4cHfqS6jwMmMa7CCboPgtpoKMwi3soiCvtOLST8jhsjLCx+Nrw2yIU6py fqjmaTO/Wl3gwFGpq+C2LD3zTl7zpO/7xvjV6MQ6IaCdYwYd7vQtiHk7eVTnqBDBP2FU w3mbIp46yaPIqmzB378T1b6+BZoCsd2BMuplaAHIC+JwKe6V4CbaUC8MfAVefYciZM6V 8dnjKVILVzHThhXGI4vSBW/N3XSb+98QvuaX8CzCFxA0+Ucd/ks3K7b2bVxLvxx03eQW kqETHJ8TmFyV1L/4vHKzmvcugOGYijTQC/gFn3ypHWHRMTyb+E6S5j5Sz1Gi/hSwPwiJ 3s6A== X-Gm-Message-State: AO0yUKWq2w+k0VBtqALPySNFOA9EeURUqhW30/8crxI8E6H8PvHGUGD9 epR9DnMhBN4s/RaA1YLLCc5TkBqxWkgNzEa7oQE= X-Google-Smtp-Source: AK7set+ugpVLUS5Myd17dbjVvpl/gs6vhLhUbh3grCCSYEh5gMTu0DeKkP4k2UCBVQ1O/KIpQ6Bqtw== X-Received: by 2002:a17:902:e550:b0:196:5e71:e50 with SMTP id n16-20020a170902e55000b001965e710e50mr17264107plf.23.1676049350079; Fri, 10 Feb 2023 09:15:50 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id c1-20020a170902b68100b0019a6e8ceb49sm1955669pls.259.2023.02.10.09.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Feb 2023 09:15:49 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , kai.ji@intel.com, Pablo de Lara , Arkadiusz Kusztal Subject: [PATCH v4 5/5] ipsec: fix usage of RTE_LOGTYPE_USER1 Date: Fri, 10 Feb 2023 09:15:42 -0800 Message-Id: <20230210171542.115434-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230210171542.115434-1-stephen@networkplumber.org> References: <20230208044825.1682620-1-stephen@networkplumber.org> <20230210171542.115434-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