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 2D2C043A57; Sat, 3 Feb 2024 05:14:33 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9048B42ED3; Sat, 3 Feb 2024 05:13:44 +0100 (CET) Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) by mails.dpdk.org (Postfix) with ESMTP id 0824B42EAB for ; Sat, 3 Feb 2024 05:13:37 +0100 (CET) Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-1d746856d85so21644915ad.0 for ; Fri, 02 Feb 2024 20:13:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933616; x=1707538416; 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=7fmLyGTEsBMDiSo/AXk6vGJW073GLmANpKukqMpxbjw=; b=CiLfYFikLOb6fjuHRfmc0CPJbF4SAfmz3zjIxlHOFdXKoPtTKaXc+aMFfoWIDZJc/9 z70WdO+3Ls8gxd8Pi5bDxt0XVzksvDIBp8ePR22cqZ8tloasgr7cZqBSOpJhdSFYZ/P8 jxFkKi4K9RBEnpt7LfT2+gfYgCzw6a/R2DRP9UeAkjubTfxIiiQI/oI2dJwYGxl1AfgB ai/ToASNX2wJ2c4tAtG4oedYWLeRUkfjLjj6D7mYR/J9pY+uX0UlgTLNWeN0FJ74y4H4 2p6Wdzxy88K3FD3IusuoD66n6AQS6aD67MG5wR/wdEoZtsuPJvAOI7525OOz03qNy4rP CyXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933616; x=1707538416; 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=7fmLyGTEsBMDiSo/AXk6vGJW073GLmANpKukqMpxbjw=; b=iQHeFnGPsNmV3JjUZV0YaW3DZmLLk2aIox99SS9TxaedYY2BB+M1wBifba0TeMpAXc Hsfw2K24+Uiwq2z6/652eIouOeQk3nMzH9XSfSACgZk4YbhJPTm6ZskTzIOud6qpuJox W3C+yWOTdhXs1VJs8jnoJPQccDYSN8YA4SwLtoWgPOuQOmTXvVG6i3SNKGYiHdj1vU/h Al07+VPG/UrwpE9cTBURtPKWo5rcgIh+mCTaIhthbC8XoM8nnd6AZ4Zbub2Yr87A3bP+ uzRttOSLQs3MH/cD7uUX1WiFrcFyJw+inxw/KkhrnV6EQb7CKB+9v9kll15QfjoVw01I 8s+A== X-Gm-Message-State: AOJu0YxDcmTBM4V98fH0rKj4LfP/JJOz/q3AeI3n/PCkVoOA4K0SPLo3 nhpFiOHDWzWAxsc56bDvP599nWnm9XZcfs2VbT7I8YDUP1vmyWzYmzTflQ8LBXQ2c53wlEI2Jqg noUI= X-Google-Smtp-Source: AGHT+IEAmXD1WEtPOOV8yTY2K68R0IEevYHTp3EAbXPL5p1sCtNoTb/3fWNNtnk0L8+aVdbU4toL5Q== X-Received: by 2002:a17:902:6849:b0:1d9:6381:a4b3 with SMTP id f9-20020a170902684900b001d96381a4b3mr3807282pln.36.1706933616272; Fri, 02 Feb 2024 20:13:36 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCW/fqhvzcWRp/sDx0CNfXffXTX0RwVrYCjzqPblGKv3LDLGIyyOS0u/zXJmuJ5WezVO/04E1g9Nd7DmEssU3kZQkJEE3YYORCKp4IIrMqlnHI8yjsTQglUSzNXc+4y+SFR8Qm0LPqYvHhHeuhCNL7vrBw== Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id mf11-20020a170902fc8b00b001d94a3f398esm2361800plb.141.2024.02.02.20.13.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:13:35 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Hemant Agrawal , Sachin Saxena , Akhil Goyal Subject: [PATCH v7 15/19] event/dpaa, event/dpaa2: use dedicated logtype Date: Fri, 2 Feb 2024 20:11:48 -0800 Message-ID: <20240203041230.285599-16-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240203041230.285599-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20240203041230.285599-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 Do not use RTE_LOGTYPE_PMD. Fixes: b0f66a68ca74 ("event/dpaa: support crypto adapter") Fixes: 4ab57b042e7c ("event/dpaa2: affine portal at runtime during I/O") Signed-off-by: Stephen Hemminger --- drivers/event/dpaa/dpaa_eventdev.c | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 4 ++-- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/event/dpaa/dpaa_eventdev.c b/drivers/event/dpaa/dpaa_eventdev.c index 46a9b88c73ae..a8e5c3421df1 100644 --- a/drivers/event/dpaa/dpaa_eventdev.c +++ b/drivers/event/dpaa/dpaa_eventdev.c @@ -1025,7 +1025,7 @@ dpaa_event_dev_create(const char *name, const char *params, struct rte_vdev_devi eventdev->txa_enqueue = dpaa_eventdev_txa_enqueue; eventdev->txa_enqueue_same_dest = dpaa_eventdev_txa_enqueue_same_dest; - RTE_LOG(INFO, PMD, "%s eventdev added", name); + DPAA_EVENTDEV_INFO("%s eventdev added", name); /* For secondary processes, the primary has done all the work */ if (rte_eal_process_type() != RTE_PROC_PRIMARY) diff --git a/drivers/event/dpaa2/dpaa2_eventdev.c b/drivers/event/dpaa2/dpaa2_eventdev.c index dd4e64395fe5..85c2dbd998dd 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev.c +++ b/drivers/event/dpaa2/dpaa2_eventdev.c @@ -1141,7 +1141,7 @@ dpaa2_eventdev_create(const char *name, struct rte_vdev_device *vdev) priv->max_event_queues++; } while (dpcon_dev && dpci_dev); - RTE_LOG(INFO, PMD, "%s eventdev created\n", name); + DPAA2_EVENTDEV_INFO("%s eventdev created", name); done: event_dev_probing_finish(eventdev); @@ -1178,7 +1178,7 @@ dpaa2_eventdev_destroy(const char *name) } priv->max_event_queues = 0; - RTE_LOG(INFO, PMD, "%s eventdev cleaned\n", name); + DPAA2_EVENTDEV_INFO("%s eventdev cleaned", name); return 0; } diff --git a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c index 427aff4b1111..9d4938efe6aa 100644 --- a/drivers/event/dpaa2/dpaa2_eventdev_selftest.c +++ b/drivers/event/dpaa2/dpaa2_eventdev_selftest.c @@ -774,15 +774,15 @@ static void dpaa2_test_run(int (*setup)(void), void (*tdown)(void), int (*test)(void), const char *name) { if (setup() < 0) { - RTE_LOG(INFO, PMD, "Error setting up test %s", name); + DPAA2_EVENTDEV_INFO("Error setting up test %s", name); unsupported++; } else { if (test() < 0) { failed++; - RTE_LOG(INFO, PMD, "%s Failed\n", name); + DPAA2_EVENTDEV_INFO("%s Failed", name); } else { passed++; - RTE_LOG(INFO, PMD, "%s Passed", name); + DPAA2_EVENTDEV_INFO("%s Passed", name); } } -- 2.43.0