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 6DEF843760; Fri, 22 Dec 2023 18:19:16 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 59572410F9; Fri, 22 Dec 2023 18:18:47 +0100 (CET) Received: from mail-pf1-f171.google.com (mail-pf1-f171.google.com [209.85.210.171]) by mails.dpdk.org (Postfix) with ESMTP id 6A984410EE for ; Fri, 22 Dec 2023 18:18:45 +0100 (CET) Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-6d774533e73so2004824b3a.1 for ; Fri, 22 Dec 2023 09:18:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703265524; x=1703870324; 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=O/3FVf6ronbFhbT65lMIeqaoXXZAJg+9bIB9D2tN89c=; b=qnHTPjb55waiBM4aE4Kt8CDhRY2oLYRtybIxMEpw6xAIvofdgIi7+zo04i6orsVWMF 6ztFySPKs5zgqlL4kQqSkVKDyb0kD9C61DRokJexN8Ai7inqY1vY2j3OsInwOZ7fP9Q1 cmsinMzwZWzdwkuMNkHkmWco4aDkE/S9i+0jP04cg941wYkkEZj/swesF1M4bdhXYX99 deWpchRtvy2egB3s659QldwMaRITAALARAj8IUz7PY9v8NTYSOuNUG+L5gc+Czak00Tj d410qWqc9ln7vfIIqQp3hWg9QHrU8d2NZyFJ8SsLMH0lrq/D6m09zYg3XjffNLh7d1wu 5rLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703265524; x=1703870324; 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=O/3FVf6ronbFhbT65lMIeqaoXXZAJg+9bIB9D2tN89c=; b=XR4HF9hRl3GmryJrSH/d5ANw1s1+UqthOERY32a/gSyHxdgQ5LQByXT2H8q8kJZDzk UQmJV56nmCN8I7YVkXqPEDgDAs4QCnN6gih/cASS/RfJzbMJ4KMR7Ad3gqfaSOdWR85O kWiU+PCwKYXI12NNG8EDFo2ERldarH7xR6ncYs6J6CIfiR8TIfby23reVwNyNkZW2vg0 AjeYDNCT3AEhUXj1PlD64cK6CRwUHOtJiHWBdYE8r9YO/+MbzY3cyaL8bqqSHXmCdEeT Za4XwwGpLv5c5F6nu2fHnE4GKgqSCUsmKQgt2Wy8D7WIdA38uN6+rpnjmiefmzdu4Uhp HKug== X-Gm-Message-State: AOJu0YyOawByCi2EB2sCCXFhdmdSe3kwN6brFD+tLdv/Xm1Pc2irS3Rw I/DkcOsPkNCYfEJJC6bQomEZedq5Zmsd1kDT6YkpZXyFT09EyA== X-Google-Smtp-Source: AGHT+IHy511S1JkKgRlMj3D0qLF9FZ1jdZewWn+UEXuB3Imimf8CO7GpC4Bcm/xiUVeiv7/3gulpXw== X-Received: by 2002:a05:6a00:290d:b0:6d8:5a24:b30d with SMTP id cg13-20020a056a00290d00b006d85a24b30dmr1766708pfb.44.1703265524751; Fri, 22 Dec 2023 09:18:44 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id h19-20020a62b413000000b006d7d454e58asm372024pfn.117.2023.12.22.09.18.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 09:18:44 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Liron Himi , Yelena Krivosheev , Natalie Samsonov Subject: [PATCH v6 06/20] net/mrvl: do not use PMD logtype Date: Fri, 22 Dec 2023 09:11:39 -0800 Message-ID: <20231222171820.8778-7-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231222171820.8778-1-stephen@networkplumber.org> References: <20231213014408.612051-1-stephen@networkplumber.org> <20231222171820.8778-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 the same logtype as other places in the driver. Fixes: 9e79d810911d ("net/mvpp2: support Tx scatter/gather") Signed-off-by: Stephen Hemminger --- drivers/net/mvpp2/mrvl_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c index c12364941d62..1ca13e8b89d7 100644 --- a/drivers/net/mvpp2/mrvl_ethdev.c +++ b/drivers/net/mvpp2/mrvl_ethdev.c @@ -2976,8 +2976,7 @@ mrvl_tx_sg_pkt_burst(void *txq, struct rte_mbuf **tx_pkts, */ if (nb_segs > PP2_PPIO_DESC_NUM_FRAGS) { total_descs -= nb_segs; - RTE_LOG(ERR, PMD, - "Too many segments. Packet won't be sent.\n"); + MRVL_LOG(ERR, "Too many segments. Packet won't be sent."); break; } -- 2.43.0