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 706E443C4B; Fri, 8 Mar 2024 23:34:51 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3FB25402E7; Fri, 8 Mar 2024 23:34:51 +0100 (CET) Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) by mails.dpdk.org (Postfix) with ESMTP id 4E003402BB for ; Fri, 8 Mar 2024 23:34:50 +0100 (CET) Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1dc29f1956cso9352185ad.0 for ; Fri, 08 Mar 2024 14:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709937289; x=1710542089; 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=FgdoJwmgt+GS4AaALJqHwPMOWlsCwIP3dvGYSyJ2zOI=; b=bDRQVAulPv6ZwQ8FwPzACn/1UqN2o+4Yp28Csej04Ya/NYvAkCPY5Vj+9cnGCXY6oL 8QEgiX7UhKjv01yedB+HGE/fHmKU0susndshC4kSokKlmh+l27abp5m6n8kCJ18Ae3C2 8nlEAjB5hSIgFQmkf5EUYyvDaWLaIc1iFASWz0FcYtozN9hZ/kwLhOOIRnGPPyCmHL7c eKjUSYGdmlnplphMUFrOKnMGDFd1S9gZH/6khch+TO51l4Udv9tI/Xt6kUxhNJe0Yss8 CwBB2DJ4w8WEwhud+lP/yr4XpB9vaTXAdCrYMa95DgL7RDrmskuLBOcOLc7fNzVCWF7y vLUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709937289; x=1710542089; 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=FgdoJwmgt+GS4AaALJqHwPMOWlsCwIP3dvGYSyJ2zOI=; b=Thuxh184M2da8vu+DsYpiQfulD/evnG+R3S6cLbuaHTV+qNFRkZYDFkLtEn16MmH7A Z55QSEJgH06dHEoQiwQlz3jSQf/rlnufBu1zSgOMtIkfpGTfkZWVOQdNPPgN4N3KreTF Btg757pA7rh3ZgVQEuZk/H3JKQfpr/UEj7IuDalZs44A8D6NOIv+ROafagFQnjDa//3E 4r18sAQgQqoJlp1GnFeTn0bKkWjj5rc9naokO/T53B2urxBlDulEz/1cWNuHE47QBdCf WcSJ4EcRUb+3tFjDNA1a5vnjsFQwuK8XbNniIyOvPCWyhOah/AgRIxb2Ccp0bL6j6J3e 685g== X-Gm-Message-State: AOJu0YzhBvsKQ9wyqYwNyCv9fmbLSRdOK+TN6Rri6SlOd1ERxu75H0+d 43agxcCrBEAGbynx/zsdQ6pIoxnpgjgv1E+yUsbn/NrG5Ww6biua2+JsEq9uYXgETcWRrPRagLS MGsw= X-Google-Smtp-Source: AGHT+IEqaJY8fFg1JxKUMH5EXBzYumDTyFigcKwNriHzwrVLpxqfp0OiY5BoKEEUUHEAnXmtcScVTg== X-Received: by 2002:a17:902:f68f:b0:1db:ff7b:d1fa with SMTP id l15-20020a170902f68f00b001dbff7bd1famr50674plg.47.1709937289223; Fri, 08 Mar 2024 14:34:49 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id c8-20020a170903234800b001dc3c4e7a12sm145517plh.14.2024.03.08.14.34.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 14:34:48 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v4 0/3] replace use of EAL logtype in applications Date: Fri, 8 Mar 2024 14:33:39 -0800 Message-ID: <20240308223446.215726-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 v4 - resolve some checkpatch reported pre-existing stuff 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 | 221 +++++++++++++++---------------- examples/l2fwd-keepalive/main.c | 2 - examples/l2fwd-keepalive/shm.c | 29 ++-- examples/l2fwd-keepalive/shm.h | 3 + examples/vm_power_manager/main.c | 11 +- 5 files changed, 123 insertions(+), 143 deletions(-) -- 2.43.0