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 0FD5E43066; Mon, 14 Aug 2023 18:32:18 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CF0F1432C7; Mon, 14 Aug 2023 18:31:44 +0200 (CEST) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 38972432B5 for ; Mon, 14 Aug 2023 18:31:42 +0200 (CEST) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1bdeb022738so5096845ad.0 for ; Mon, 14 Aug 2023 09:31:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1692030701; x=1692635501; 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=jd6wlmQ/u8B0n1N70K7R+XkXxk14zqKnQXO/3kTE+i8=; b=FML1Xr53YLWIuxEjPjpp4k/rFCGPTvd9X4IlB+gfZ/2O2e+acu7/NpC+g7xH7WgBTg WTfOKd69BCyStF4tAgO37xwZap/vlVJNSRZlJ0eW6MUXFy7DX1JIQJqnIhwMr5liofi8 iCVdPlGp9AeYKNunsbxPxfaikau+LS2lF6BtBHP4TxGMUP0I7y6vENaQrdthy64nc59s JGfOL7asCqK/1lL9vTX4HXFaSjuboQ8rXZLcUmtGjhESdrWP6p6ijikTf/hrIep6iP+H 5OmU/jF0xo+F4X9Vk6W+S/5I0jUZtKA6OQCDJ2TxcbRvPPsbl7j99OJS56dJxpCeGlkT 064g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692030701; x=1692635501; 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=jd6wlmQ/u8B0n1N70K7R+XkXxk14zqKnQXO/3kTE+i8=; b=PJVkCzsRfXcUj8ApxXv7/dfK16PBAilEoavILwrxzABZfD4iveuhfgkh15hZ3ZUCDO bK6aWZX9vs8YyMrCaxrRaPaE1GIx8jv9VPpJeVdYOSLFUStnfx80Ln+tfKQhwi+a7tNl 1WOdPYz4YN6XfoinYR3gNnGqG23Y4y+FBl36aIWJFOMC37OlIrRylJL9BNVroo9lT+14 VT165aRmc7SuBeCbVFZGPHQ8wYk7w4J7UrV7tQ/5s/MLmwmTiCyWIa5MDKQ2/Jc1uHJ8 g783GYW+ZrGAB8XwBdJXpUheJkNI83x0l4WdNe1LWG3cBaixY3xEFcyUIU9lWtn7vhyv o+5g== X-Gm-Message-State: AOJu0YxkT0UBf99wxksahvUoL3QoS3BJa/Nbm0tLSIyK703DRRiDFDbr ODXOYOLOelJ+sJsNN2qmQLGv0iGlYHS/+DRMSKOMLHqlge4= X-Google-Smtp-Source: AGHT+IGlYWav+v32wE3er045Ic3+iVxIZ2bfi5mC+/NAqJ91rGMna+nfOWMBimIen0xvTPg6KjJJFw== X-Received: by 2002:a17:902:da89:b0:1bb:c9e3:6d4f with SMTP id j9-20020a170902da8900b001bbc9e36d4fmr13260961plx.10.1692030701163; Mon, 14 Aug 2023 09:31:41 -0700 (PDT) Received: from hermes.local (204-195-127-207.wavecable.com. [204.195.127.207]) by smtp.gmail.com with ESMTPSA id t10-20020a170902bc4a00b001bdd51748f8sm3892743plz.271.2023.08.14.09.31.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Aug 2023 09:31:40 -0700 (PDT) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , kai.ji@intel.com, Pablo de Lara , Arkadiusz Kusztal Subject: [PATCH v8 5/6] ipsec: fix usage of RTE_LOGTYPE_USER1 Date: Mon, 14 Aug 2023 09:31:24 -0700 Message-Id: <20230814163125.63033-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230814163125.63033-1-stephen@networkplumber.org> References: <20230208044825.1682620-1-stephen@networkplumber.org> <20230814163125.63033-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 30f919cd402d..52d6d010c788 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.2