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 0FB9141C7B; Sun, 12 Feb 2023 17:15:31 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5ADC42D20; Sun, 12 Feb 2023 17:15:07 +0100 (CET) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) by mails.dpdk.org (Postfix) with ESMTP id AA70F42D13 for ; Sun, 12 Feb 2023 17:15:02 +0100 (CET) Received: by mail-pl1-f177.google.com with SMTP id r8so11287732pls.2 for ; Sun, 12 Feb 2023 08:15:02 -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=1+SGm0khrYMWem55UUCbmfbGvYqvfDdu0VECFBGTosBWtERKDlQ986FnHU4Xed5e+4 oUgUdTBlezITDgbrkVUc6THKvFzVxq4mCGuA7okSBERp1CoB/cGWWKxKLUZGIxR79226 l1KNU3Q3KHPK/XW4vbUYFAm5gCgBEWqi1PgzhHyGVqCtrTLQF6yJQBdG+jGqMmK3aIE+ ilxWGFxd+IkFuc8OytAEtxAcat0S4MIb4Fa6QX3NrB+SQX9MqP1j/BfKgDpuW9tJkI58 QFcyAJFqHwUl69Ngeay81IBwxhYvJF7ku1XsLxXfAlEYvmoOdeize0K2pAKAbSSnnN+M enGQ== 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=Luwmx7tT4JNFJ/qn07A20HfNEGhZcG46QiGin1PkHwQ2rGEhRi4eiwlpkbY/00w5a6 55wlfeZbnYYLypexKehHMTDDU4myeYEVfdwOBrJPBP9SuyPr0s0Kn80JHCBSHpsGGITW 6htDgPXC2MUTQdsExO7gUCpG/tGUaD8KLZecZhCjVSbp3Qz1W4oPFGYyVHqCuX1d42Ht IVdmO7MSmrxSE1KTvvF6X/XTdosLcPxMv6aQRkYPkbqjl1sKfC9OVpmcOHRJqX46YhND iypxTl1GuxBjFK1X1EddGAyT2KaeYZXKkdP9W+tiS1JLQNEwptgSOOC4wqXVCqUcJBGY 7mMg== X-Gm-Message-State: AO0yUKXdcxqhNYkPl+j9JuexYQJwN6NUbIWYn8l/Z2p2q/528WI9A1He vtDS4N8/9slbia9JxcnBAbtM7zYEyD/XShWkUiw= X-Google-Smtp-Source: AK7set+IJjp14ItMWcwZRY+0uKWnu3S78jOWIrJaEvCUMqF3ZU6KZSJKm4dukTfl69nmqow7Adg7WQ== X-Received: by 2002:a17:90b:4f8d:b0:230:f1c0:3f4d with SMTP id qe13-20020a17090b4f8d00b00230f1c03f4dmr21807177pjb.6.1676218501677; Sun, 12 Feb 2023 08:15:01 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id a14-20020a17090abe0e00b002308e6e645bsm2709817pjs.49.2023.02.12.08.15.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 08:15:01 -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: Sun, 12 Feb 2023 08:14:54 -0800 Message-Id: <20230212161454.836493-6-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230212161454.836493-1-stephen@networkplumber.org> References: <20230208044825.1682620-1-stephen@networkplumber.org> <20230212161454.836493-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