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 2BDC443A57; Sat, 3 Feb 2024 05:13:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5197842E85; Sat, 3 Feb 2024 05:13:28 +0100 (CET) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id A461442E70 for ; Sat, 3 Feb 2024 05:13:26 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id 41be03b00d2f7-5ceb3fe708eso2173775a12.3 for ; Fri, 02 Feb 2024 20:13:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1706933606; x=1707538406; 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=mCLgdy+DDCpLRFH1RZWxA5BhD4XhWkIppAH6knWoi4vab/TXngT+fo1XvJ6DIU5It0 6ORtEDxe06fm1yrpgnvoAK5eCxeqFjfI2vaGx2NzCmWxvSAARrhm09eXGAbAGLnrVLkj i5oG6+KBaGC9b1LcH1V7Ft+vOZt6rMWnKsQUJgg8ZhFd64MGvC5HEsDEc4MIVqt7zQM/ E+r0VRRy93WLBoGUF7fUEYAzuyD1e53mO1vM79PuJt4MIzkhaIawOkPB71Qdc7rJ2vXG SD3V7C2NvRNkc847TARjCdx9hpnAlyBzPAFqNhMhVqxInIvcxyWoaK6U3dpfdKgkhgvK ZTAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706933606; x=1707538406; 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=nPDYavm7vcEnlOB0sKzaZD9MA31HIoENw5TbhMRtjQ90DmcL1VUTaa0I2eXPoFFT5d f6x/HyYDHmauA0jJ6+hnyqajfDKaoQ8LzzhkqRdC5f/CZQvHXsWlD3mM1ol5BaMdeZtB fxQ1YfWGdui0gAcPrfQzRnEx63PjOquY58kbNC1mRgKL+iL7OP+GJqE0YAIl6ntvZnoJ Hom9p0vPB0JIscqRS/2lzbzoQAU09ENqMFI0iMxSBA9iqO88uImlVy7xPmg+z8aZVO4d 25bmrjZR1UOaVI6pfSoqL7DozNcEuwxUK1rTprHQnCdlyyU27lRYgyzqRT4yjoyxhjtY uOPA== X-Gm-Message-State: AOJu0Yw4r9oGkHlnWGTNrLmLYPKiKSmVgX5bdkA9hEhalHqD7P3D//5j VstXP1wqVyssJFe12zT02/Jw+5nAxB7tjpvcEa7q/662gwd2PzW9qoxMyDKpDq0X27OTVLHURSS jIyY= X-Google-Smtp-Source: AGHT+IEuGwo+Z8g9MirhMyN9oHOOSvHdbTgJz9yIy3IiAghoClZzM61rdEkROezhjzH0jEICAJ/69Q== X-Received: by 2002:a17:902:d2c4:b0:1d9:7acf:f15b with SMTP id n4-20020a170902d2c400b001d97acff15bmr3680131plc.62.1706933605944; Fri, 02 Feb 2024 20:13:25 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXa5UQDpYQJpNmJAYAOXjjH4SxowoLst0QrXPFJAHwCCnzbwUTD5La9nOQwn2ljs+92yQAdbxdhsEXte6H2gF74oJMB1XXdtVMMJWjumOpKYDg2ardlgB7Y6I42zfgsqrKAAIQ9U2RuygyvY/c= 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.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 20:13:25 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , Liron Himi , Natalie Samsonov , Yelena Krivosheev Subject: [PATCH v7 05/19] net/mrvl: do not use PMD logtype Date: Fri, 2 Feb 2024 20:11:38 -0800 Message-ID: <20240203041230.285599-6-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 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