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 E020F4373D; Mon, 18 Dec 2023 20:28:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 85DB142E0A; Mon, 18 Dec 2023 20:26:59 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id 6499D42DE6 for ; Mon, 18 Dec 2023 20:26:52 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id d9443c01a7336-1d3b8184a84so6850175ad.1 for ; Mon, 18 Dec 2023 11:26:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702927611; x=1703532411; 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=ppcqcS1MmO2ZFFCoO+/RFWoPq6LDB6k65shce7sep6o=; b=DmxSAozfosvX8mFNQSKY3umcqbaHPcX81n4ZvFSC9CLTTurXo2r6KYgWm4WJ6W1lFC BYesYl7XTnpxPFuIprZ6NaCJ4oYyFDv4YlYNUJWiJfKcOFyJxbEPVB8AWlW/v+hv1Q9T SRQcbkQgvoa/hZc8r9o+cdx09lEJpu36LtPl18ELdYK1V50L0CHj2WvKURX+SzHcudqK nsu6LYAaSIgvpmqnJYc8tprvAbBN3AespPy5Iq9QKdxgQfIbxahemxg3t5vylVvIenFl wbHP9ltLYvVHQcZHz4Jq3gTbdKGifT6yBYQq2yB50/DeHlMYYkBMAJWXXi/eUH01Ihna cjig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702927611; x=1703532411; 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=ppcqcS1MmO2ZFFCoO+/RFWoPq6LDB6k65shce7sep6o=; b=lpKUMsSEp9NoA1SoNZ2EIdadnf65Xr6efiBrywktuyhBBqKB+/sN2UqLpxN0Ke3WZ7 GbX9fIrTbdBAZNoF4nGRlb1DqNySuQ57WmAMsq78WpUyj8y7xDk7Gi10XljUzwoEdHra tAuRZr+T3jBPAJfAmlODcepRckNYs5V8ewedWXJhIMGp67fFGLai3qVYtAC5HtIZ7Ei7 KZ/Tnsd2GGzSwF1Ju+tus5K8Yv7CBYbKwiNno8mEYAtVxVHF9ZERzOnFacMWnAiUiFdT Al7ZS8Eb3edv3JeRY/V+cpKBgss9Cw6cBX0WrCt1Kl//7ZDc1tBdvcLQHzyP8RLODfLn B3aA== X-Gm-Message-State: AOJu0YwOpgiS8c0cBW5r8ycclFHLjxABhTDMtpjkyQBgtfhz64pJTZ/g tJdJDGMSETt5IitIkivijZnayU15JsOErU6lcYUo9Q== X-Google-Smtp-Source: AGHT+IHv8P4meJ5piyg2C8VNxVsoEKZk8EHBFwmNi7QWeKVx3rLzfMHkVtwVTrZjuFyN2esKjp7qaA== X-Received: by 2002:a17:902:b706:b0:1cf:9790:f244 with SMTP id d6-20020a170902b70600b001cf9790f244mr7851973pls.47.1702927611657; Mon, 18 Dec 2023 11:26:51 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p17-20020a170903249100b001cfbe348ca5sm19410284plw.187.2023.12.18.11.26.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 11:26:51 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 13/17] event/dpaa, event/dpaa2: use dedicated logtype Date: Mon, 18 Dec 2023 11:22:29 -0800 Message-ID: <20231218192631.699267-14-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231218192631.699267-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231218192631.699267-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 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