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 27BC743C27; Fri, 8 Mar 2024 19:11:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0063F40E28; Fri, 8 Mar 2024 19:11:49 +0100 (CET) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mails.dpdk.org (Postfix) with ESMTP id 51E0640274 for ; Fri, 8 Mar 2024 19:11:48 +0100 (CET) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-6e6381df003so2092604b3a.0 for ; Fri, 08 Mar 2024 10:11:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709921507; x=1710526307; 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=dc8PNwpX6nYSDo+O1RuYAHyb1SKYYGnReq1fxynYpdY=; b=SwTGcRq/G59PDT8d6DhTMaxkD3F2wGPjjM9Q51wQHpR6lKnaEAAx3a9A2g1+jbh1V9 gA23l+s2H79rWhMFGnkcAe72G5Wqqmgz8/eMqLNubWCKdtPChl+mDObGBxWoz/mk9I/q hOqRF+nMQNVcKNBXQBU9Wh1+h574E/a4XblWnzaUKxFO70hL1iaYdlKPCJcriysMR1H4 OxKSRAecT3u+1b2EaPrFeRzA8jfBoL6U8VCrlAXnKeB4BKiR4ABauxbtxJAjqy0xUlZH QBTi2mE5U3X3FnOwozEEr7jcfbFeHgCCnlS33TF0eFlp4Go/YsjpC+oCd7rcPYqR9W6f MXBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709921507; x=1710526307; 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=dc8PNwpX6nYSDo+O1RuYAHyb1SKYYGnReq1fxynYpdY=; b=uITMtt4VOVfSTzD/xok+O4ZS6hWr9AIdLRVAMchAGuPEAsg2SHr7nT8gsTO1yGWFHf 3af3bIkfa/KacTUgJBlKZ2B5FMxZGDCstcEd1ncpVrREJ0X/fFciMhUUk23wmlA18pSb V1qx5OfWEJdSFgZnBsK7dPaYONYDvUokrMGZs/LO7MY+PvNEHsCIYgM2wbOXfH6Vz4nE XRK+eA7N37XARKirSa59C2Xzkw1yR7YJ8jlGWqzMtLtuA7yfe3hN6u0yqAEM0Cd1qS+J 4AaSyjVZjNzAKrnAziAcPqy/8+grSDbVNbUcYYKencvs+upvWnpJo2a+nfXMZiA0aDUo ICEw== X-Gm-Message-State: AOJu0YxDmy4NUXxHAcsrRiCzGXBR4S17nI2o8k3JL4t9Dlrhq9einwIc SxJvQcTZ+rKMS7fMmzaAA8jJxq3krruMeYX5v6WVW5F+OWoG12UBQNyTXLcTPau4WYTfK6JES45 mvVc= X-Google-Smtp-Source: AGHT+IG4Hg4tTxaOUljDOB6QBd2UUKIpHLlA8Of6br2svOn9ZZIc7NqIVqKjck8AIl77N1OjjCBWBw== X-Received: by 2002:a05:6a20:a121:b0:1a1:841a:33f0 with SMTP id q33-20020a056a20a12100b001a1841a33f0mr2885698pzk.19.1709921507342; Fri, 08 Mar 2024 10:11:47 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id fn17-20020a056a002fd100b006e2301e702fsm14376020pfb.125.2024.03.08.10.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 10:11:46 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 0/3] replace use of EAL logtype in applications Date: Fri, 8 Mar 2024 10:10:23 -0800 Message-ID: <20240308181137.69855-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-Type: text/plain; charset=UTF-8 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. 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 v3 - rebase, review feedback: use RTE_LOG in more places in l2fwd-keepalive replace more fprintf(stderr,...) in testpmd app/test-pmd/testpmd.c | 221 +++++++++++++++---------------- examples/l2fwd-keepalive/main.c | 2 - examples/l2fwd-keepalive/shm.c | 29 ++-- examples/l2fwd-keepalive/shm.h | 5 + examples/vm_power_manager/main.c | 11 +- 5 files changed, 125 insertions(+), 143 deletions(-) -- 2.43.0