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 1DBA1436E3; Wed, 13 Dec 2023 17:42:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0E7A642FD9; Wed, 13 Dec 2023 17:40:31 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id EF19242F89 for ; Wed, 13 Dec 2023 17:40:20 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d359f04514so2964215ad.2 for ; Wed, 13 Dec 2023 08:40:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485620; x=1703090420; darn=dpdk.org; 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=vPJfbFK+D25WjpXSAjnshU76FStxLv81t02JBUf1vQI=; b=yn/JVhwbTc2mGg4Uiw8mVBy1Ksm0eVP3Ki2Kl6ePYANM1n85tLpPIe3HcDU2h6wom8 bev/go1pWES2MumGF/MN5W8KTPW5XT5KLP6/58fyMXfB8Z3e0Xlg0yD32FIweFOEfX84 c0YSJ4kakpzBQX0IuhjqcwrQpX3uq30Pgk8EUYfJInPRg6hkQeA5wQgCJVceaIInUH9/ 1atX3MZDo4ixJvXdpiO7Zx5rXDSeyGMDADVa2W4VdMyrDfmfBzR9qB5gpsdC8kOpRyzn nJA2XLHeKVt8+8rD/unICphBGLFImBC7FRghjMDZFNeWAOq1gJVQWfSzl20ISq1GnRyp BVHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485620; x=1703090420; 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=vPJfbFK+D25WjpXSAjnshU76FStxLv81t02JBUf1vQI=; b=pNWoTlRcsPt/k6bWOGOTKey9CoS62vaFZ4st2Rhd36/X/UkYRFYx/HwkPXJCg3iRcB ZW6+wU1hxJZnV4//zW3TMviEuHkVzNNcPScqrnC6cXLG6HQFGcp15yEldfNL1M9ZSTyZ iVpshu8UVwn5+PscC4lyS5BmNBQPVO2kl5IeAxhcF1O0Sc70SrOP4paMLJRe/+DuosDN b6XpZ/FC/zyI98/d1fwuRRtD3ipXEgF281cTFZ3sDPUde3tWNqabB9cb8QGOLAHMo/oH xQTf1ll4Tb2auBSIWY9QLRmSQuPjXj4NcIhfP7JebGD+i9qfQ4xv39EutmCfduPoTIRZ 9+8w== X-Gm-Message-State: AOJu0YzAK1lJ02ZFrCveKtbxvKrMdK6tEogXkf3tuZ23H3jxyLgZXqUg ZOpuptXWbHGpGrxZnOqua3EySbLpoIzuBxn4cLs= X-Google-Smtp-Source: AGHT+IGWWytaZ1nIvm+LZ8/PmnIfyOpsWorFRcw9wZ/mJu0zlqJI5SmdEDmPoyl2lGvJnKzNPROzqw== X-Received: by 2002:a17:902:e549:b0:1d0:8ac1:1b89 with SMTP id n9-20020a170902e54900b001d08ac11b89mr4897697plf.34.1702485620248; Wed, 13 Dec 2023 08:40:20 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 4-20020a170902c24400b001d0a6f31519sm10749593plg.188.2023.12.13.08.40.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:40:19 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Abdullah Sevincer Subject: [PATCH v3 31/37] event/dlb2: replace logtype PMD with rte_log_dp Date: Wed, 13 Dec 2023 08:36:05 -0800 Message-ID: <20231213163820.894987-32-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231213163820.894987-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231213163820.894987-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 Use local logtype for all log messages. Signed-off-by: Stephen Hemminger --- drivers/event/dlb2/dlb2.c | 5 ++--- drivers/event/dlb2/dlb2_log.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c index 050ace0904b4..5a16123f0af9 100644 --- a/drivers/event/dlb2/dlb2.c +++ b/drivers/event/dlb2/dlb2.c @@ -4741,9 +4741,8 @@ dlb2_parse_params(const char *params, struct rte_kvargs *kvlist = rte_kvargs_parse(params, args); if (kvlist == NULL) { - RTE_LOG(INFO, PMD, - "Ignoring unsupported parameters when creating device '%s'\n", - name); + DLB2_LOG_INFO("Ignoring unsupported parameters when creating device '%s'\n", + name); } else { int ret = rte_kvargs_process(kvlist, NUMA_NODE_ARG, set_numa_node, diff --git a/drivers/event/dlb2/dlb2_log.h b/drivers/event/dlb2/dlb2_log.h index dc1481ef870c..3d4e1879350d 100644 --- a/drivers/event/dlb2/dlb2_log.h +++ b/drivers/event/dlb2/dlb2_log.h @@ -20,6 +20,6 @@ extern int eventdev_dlb2_log_level; /* remove debug logs at compile time unless actually debugging */ #define DLB2_LOG_DBG(fmt, args...) \ - RTE_LOG_DP(DEBUG, PMD, fmt, ## args) + rte_log_dp(RTE_LOG_DEBUG, eventdev_dlb2_log_level, fmt, ## args) #endif /* _DLB2_EVDEV_LOG_H_ */ -- 2.43.0