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 1BBF44373D; Mon, 18 Dec 2023 20:27:17 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5503842DD9; Mon, 18 Dec 2023 20:26:50 +0100 (CET) Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by mails.dpdk.org (Postfix) with ESMTP id 3539D4025E for ; Mon, 18 Dec 2023 20:26:46 +0100 (CET) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-28b6218d102so1581043a91.0 for ; Mon, 18 Dec 2023 11:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702927605; x=1703532405; 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=uS5Ba8ZHzyrFAw4NaWR81b04okCnnLNgeNua0B6rZac=; b=x+boEMoe6XfZtO81MyKV+E68/Ll2qA346LV8gvmzfTOyf2vzEoAU8cAzHawiH71co6 I5L7KpKuFshghPp5LcpyfWCnfrMffSLQ7yJvSp3+xwI5g7WGxKWiTarMlI+TOJkbETba dycvxuEEg3iHfF/+tmdamboSo9xAypxicTk4QX40LE9pcCpjkpEkKQNk7UZyBj1WOJho IVya8ZNzsZVeVK8ggdOIrixC5osHwcRKvDKozNOhWH93pEHz4hppDKu/IDgFrNTdrv+t cjcgzSY3ACGLBEdtiq9e61oHHMdM9qahZs6xZeyKPd7eJGip4JaamNl+iWadafuP3PtN WM0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702927605; x=1703532405; 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=uS5Ba8ZHzyrFAw4NaWR81b04okCnnLNgeNua0B6rZac=; b=Hnm28dBO/2I6NLbcOVnwKPA9ZCvK10/BD6vEgGBb+842/2hhqv+dlTE+sURWKoyRND ViDa4wP3HeCbvU41lJfJGLBhjwj9jzd2BYaL8XpVEZZqfb0UqVOEplvEFYYQWddG0Hhx hCnGBYbMOJ7KAfI8g52Qd/sMSOOJ8sHKhLGPZI+j0mktrtfmqw+TEwMdyS8ziRbpws5g e+khg/74j4CVHydMPYkvqIbUdn+rh4EyWrfwk7Wqm3AOZVCdiss2hz7Nqm4zPBb2b9Xx sFTvN9/cyqiAYKgZ0uZ+VOKmyrrb5wxMdACS4HytX32DCthrfZ7/wZ4gLFeRMAaqn+fc RW+Q== X-Gm-Message-State: AOJu0YzQHDTJzufyTNtXFGh/Uif1Vn0x+XMZP5gEIJi2JV5rjMtEYdb5 Qk/YBWvmZlsOeuloZCx0DiWP1GWCTsHtw1BTsuQFsA== X-Google-Smtp-Source: AGHT+IGJKbGr9KwDm0TxCsM7f4DULkEM7WfxA1x9ndkpkKplqIVrRYnTtEOQQLJitZOy42Yukr3czw== X-Received: by 2002:a17:90a:2a4f:b0:28b:6a9c:fff0 with SMTP id d15-20020a17090a2a4f00b0028b6a9cfff0mr1310988pjg.85.1702927605366; Mon, 18 Dec 2023 11:26:45 -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.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 11:26:45 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 05/17] net/mvpp2: use dedicated logtype Date: Mon, 18 Dec 2023 11:22:21 -0800 Message-ID: <20231218192631.699267-6-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 Always use the dedicated logtype, not PMD. Fixes: 9e79d810911d ("net/mvpp2: support Tx scatter/gather") Signed-off-by: Stephen Hemminger --- drivers/net/mvpp2/mrvl_ethdev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c index c12364941d62..9a9279a8783a 100644 --- a/drivers/net/mvpp2/mrvl_ethdev.c +++ b/drivers/net/mvpp2/mrvl_ethdev.c @@ -415,10 +415,10 @@ mrvl_set_tx_function(struct rte_eth_dev *dev) /* Use a simple Tx queue (no offloads, no multi segs) if possible */ if (priv->multiseg) { - RTE_LOG(INFO, PMD, "Using multi-segment tx callback\n"); + MRVL_LOG(INFO, "Using multi-segment tx callback"); dev->tx_pkt_burst = mrvl_tx_sg_pkt_burst; } else { - RTE_LOG(INFO, PMD, "Using single-segment tx callback\n"); + MRVL_LOG(INFO, "Using single-segment tx callback"); dev->tx_pkt_burst = mrvl_tx_pkt_burst; } } -- 2.43.0