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 3572143B24; Fri, 16 Feb 2024 04:37:57 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 96A7A40284; Fri, 16 Feb 2024 04:37:56 +0100 (CET) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mails.dpdk.org (Postfix) with ESMTP id 808B44027C for ; Fri, 16 Feb 2024 04:37:54 +0100 (CET) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5dc816e4affso1436387a12.2 for ; Thu, 15 Feb 2024 19:37:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1708054673; x=1708659473; 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=H019M+HKjPmnSyh9LEqNkjy1C9u8v4rTqlUJuDVTU7c=; b=t7EWMFhdBzilKr+vz5rkWse1bdET8pWdC0FwlFFazLyq3MXg3sxLlcUMXL2bU9sF+3 qRkBuHgq5bOTC4YsRhdV+4VzxrabD/6oA/jgQwRgKsBya1atB6Yn0S/xYGY+TemLHxSy 0+pYYRH3CWFk07oW9wts/vFu6yA1s7eH66X/I3g1yPb+/fTwhjdKTukRXDpPe4lF95Dy SMdb6ciaJW9HEfklmkBAREx44ovA7/V7BqJJxC4d+XqLOgusbJ6SLERH40filvxgnxSg w3i+Kwr2Ts2dkxrcLHR6IsnYTGkWD9oXQPpjVBjuPXB3PonGg3nm6+ySHARYRuewoL1P 2ttA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708054673; x=1708659473; 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=H019M+HKjPmnSyh9LEqNkjy1C9u8v4rTqlUJuDVTU7c=; b=WNXqMUVqiy4MMc6zJqzxEhvv3JO7VSrCC2y1lJTLg5wSr3NLIyEne5GMjKAsnVFhYa vgdhlnug6wLbUlSk3kWlKaYjF9VhRquDvWPK1Ni1Gg/MIMrAAUHG8/cE86XTOv6qAOGZ 6qqNypBbQj1TwAv/cASgBDvbplefhFVju10ttdeSNXJk+9yjP+hphAg5+fFb7z7nhLFF QCMvrkFp52T02R+Ed9/MScnrSghpRVrFVjlTjSNP0CLbbv3hmzziJv8cCNygyv8hjF2K 4NdffHVKPZWRs257JCzIJMJGPI4obtn37vUJJaJuKIqyw/MLZ+HIf20okLaGmTPt3/k9 wCMA== X-Gm-Message-State: AOJu0YwSCBucqp+BpdMkD5WxOmHLbNGIUelFYTUUWbskch9c7DYMHa28 Ko3ySgdXd9HRWeLTz9iNQrHFes+jXzvy9D1ZU5WmtSY9EdVdhUK3mkLcEumtj4hG8JJ5foyGRme h X-Google-Smtp-Source: AGHT+IGE9IGw6sxsfbi1ZB8i6n1qyc3Xdzmj1h2bZuSd52+Tk3XjkINsRvyml8FfuhwcIDosPQpGZQ== X-Received: by 2002:a05:6a20:af14:b0:1a0:5ba0:73df with SMTP id dr20-20020a056a20af1400b001a05ba073dfmr3171045pzb.30.1708054673263; Thu, 15 Feb 2024 19:37:53 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id x9-20020a170902e04900b001db561fa164sm1967871plx.25.2024.02.15.19.37.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 19:37:52 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 0/3] replace use of EAL logtype in applications Date: Thu, 15 Feb 2024 19:36:16 -0800 Message-ID: <20240216033743.150800-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20231211172437.61958-1-stephen@networkplumber.org> References: <20231211172437.61958-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 There are some places EAL logtype is being used in testpmd and examples where it should not be. Lets reserve EAL logtype to only be used by DPDK internals. v2 - use TESTPMD_LOG() in testpmd log changes Stephen Hemminger (3): examples/l2fwd-keepalive: don't use EAL logtype examples/vm_power_manager: do not use EAL logtype testpmd: replace EAL logtype TESTPMD_LOG app/test-pmd/testpmd.c | 42 ++++++++++++-------------------- examples/l2fwd-keepalive/shm.c | 21 ++++++---------- examples/vm_power_manager/main.c | 11 +++------ 3 files changed, 26 insertions(+), 48 deletions(-) -- 2.43.0