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 57D8A41C37; Wed, 8 Feb 2023 05:49:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 71C1342D30; Wed, 8 Feb 2023 05:48:38 +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 119DB427F2 for ; Wed, 8 Feb 2023 05:48:34 +0100 (CET) Received: by mail-pj1-f44.google.com with SMTP id f16-20020a17090a9b1000b0023058bbd7b2so1118841pjp.0 for ; Tue, 07 Feb 2023 20:48:34 -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=DRdU2EvJKH/+66WxDuqBAERYwQnaofKMB//m+obH0Nl+LAcyneyHj3YmGBf/hncRex dEIrSYmCIDS0xxaInl0uug4Mh+l5ZmQkr5BCDDRCcSm04fd+tfYd720f8I/nQpAWbn+5 IbaxEvUcqk1Arwy+tQL+O4jALKK0QKvUOeGakqh7txGubJNEcY2AZhnHYtSqEwdQt+ZM MjHghqzEHU1fc+wg+KsZc0SeSuo9cDDttUQEaEJhbGfv4gkbeg2PrZ5RAyPFIc9b4i40 RL/LcqNSWh0g1Frorin0tPCZiJBrnPAq8PK2pWKXwJ97tTw+YR2tPIZigq1jGVJn+VuB q+nA== 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=7uRhTCpJpjgbDmeNcJuZzS9+L0POOFfjMIPAG15Gy6cfiN/a2ahvPN4UWzZFnLYxru J4i6I7oJGCZH3xCO0SIaza3F3Vxdp8F2eqdK1puTFwz633WCYIZzovwkAvaGYITXNfLO 0ll7Q9s1XpD3hBQgCb2JIRjHj0wymVhwGQa7xlCR48OyFgERE7tFcgWUrpGqjh7Hw503 z0gmRg5fHf1soj5qsXCZNeCAUcP8d6Ck+XiQbKGJlUnIkSj9OwXGsI5N5sx5748Jybq0 LaSLSSXjp7RQ2wmwzZIvgsKDzfDHtX7U0/8SxoLYcN4VOBhja9zMrLEtTYoK4cjSEE8E t4zA== X-Gm-Message-State: AO0yUKV3akqTt5J/1su+B2odhSaq8/P80SLpD1nRyWy5DwyBBFoR0QM/ BxOrAzIzhAf2B5/owUgRyFrwQE+Im+mcxOSF92g= X-Google-Smtp-Source: AK7set/2gIdEBCnea+f6pTDYBv+4v/85gRWZ+cZxnVkYRP63wiPYyBW96uyZ8R75L/VijyOqc8Z1QQ== X-Received: by 2002:a17:902:ec82:b0:199:2f0a:697 with SMTP id x2-20020a170902ec8200b001992f0a0697mr5655330plg.33.1675831713351; Tue, 07 Feb 2023 20:48:33 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id bu14-20020a63294e000000b004dff15fc121sm8838641pgb.36.2023.02.07.20.48.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Feb 2023 20:48:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , kai.ji@intel.com, Pablo de Lara , Arkadiusz Kusztal Subject: [PATCH 5/5] ipsec: fix usage of RTE_LOGTYPE_USER1 Date: Tue, 7 Feb 2023 20:48:25 -0800 Message-Id: <20230208044825.1682620-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230208044825.1682620-1-stephen@networkplumber.org> References: <20230208044825.1682620-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