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 000C0436D8; Wed, 13 Dec 2023 02:44:15 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F03C8402B8; Wed, 13 Dec 2023 02:44:13 +0100 (CET) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by mails.dpdk.org (Postfix) with ESMTP id 52BB240269 for ; Wed, 13 Dec 2023 02:44:12 +0100 (CET) Received: by mail-oi1-f172.google.com with SMTP id 5614622812f47-3ba1be5ad0aso938057b6e.0 for ; Tue, 12 Dec 2023 17:44:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702431851; x=1703036651; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=opWhcnOIxSjthrrDp2aYdF5xTsHxJsmqZacl0o/pa2A=; b=rJEs0LRr90GoVX1nj1GlGQ9Si3e/LUv+nOFOyvK9CRIs+D+j4T+3Q+dOVVkoWU6efr 4YKgcl6lNOa8MLwbo1tuPFs5NUjDttOgzs9Sr8WIVOePB5/5uutvRxxlZ42qAJp1Qz8Y BvHAAcOxhNcHP63H7g/5EPr+/Tbze/fRKh1p4I9M4z0WKSOpI5BxcE6hwv2os7Hsc3ob QY18GqcAN9x8fe/5mrb/F1hOzqR7OeSi8Rwkyb6bADiUb4itj56EMjvSktNLxXzzUzlC whEoFzOgIKfAhRZ63T8lRNCQNcINQhG5JcTqn7l6lhbtCzx/IGsFqZVE3wbBkhBvUQzi q8Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702431851; x=1703036651; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=opWhcnOIxSjthrrDp2aYdF5xTsHxJsmqZacl0o/pa2A=; b=oPnp/FLnzYeuqpq97Ejz5L0oeOxtyv0F1Hiz01UBut1dJpf2yPYnJaIHvbGqIyy65D Dny8CFUbwKymFcjUauzPcGtgohurvsFnXQ73X0vZFu03hR3mWgixX2ABadyD8yuzxRoo KU8oCkuGXAfzTkzKRr1AYZJbAGe0VWDWy6XqyNGemmjWXbLTnyzY7Lu/IGpvFQQ7hc0l /CBkBG4lxxKJo5fFkVh14+qy2MqK7tE5+wuBPwX9bHS5+6/GRomu5SfrniNexeVzZ2IZ 4TlnkklZ6jjJ/eDPz/p/gSIP/21gW2Yhk5H8GZt40VTcDh4GZt0y5zLJW4tKm26IJxZz v1Qw== X-Gm-Message-State: AOJu0Yw3LjWbfyCdyA2IG/DGIRGXKqrG0DiE0u+N222CpUxWytgvk68h b04TlxnT7J8dmZBq5JuWw5qWnY5M5u4pXaDnFARo6A== X-Google-Smtp-Source: AGHT+IFqdnX6CAuS01Fwr+7Q+37mF0JGhoyqPMEz/Gb/Jx7c6byrl/JT9Gvot7nCVMAvFD7M75D6fA== X-Received: by 2002:a05:6808:38cf:b0:3ba:692:b3ff with SMTP id el15-20020a05680838cf00b003ba0692b3ffmr6395880oib.99.1702431851334; Tue, 12 Dec 2023 17:44:11 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id f7-20020aa79d87000000b006ce5b4ade28sm8988375pfq.174.2023.12.12.17.44.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 17:44:10 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH 00/26] Replace uses of RTE_LOGTYPE_PMD Date: Tue, 12 Dec 2023 17:42:16 -0800 Message-ID: <20231213014408.612051-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 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 The generic RTE_LOGTYPE_PMD is a leftover and should be removed. As a first step, fix many drivers to not use it, and add a helper for the RTE_LOG_DP(). Most of this patchset is boiler plate but there were some places where use of PMD type snuck in with changes to original driver and get fixed here. Stephen Hemminger (26): log: fix doc comment for RTE_LOG_DP() log: add rte_log_dp() net/atlantic: replace RTE_LOG_DP with rte_log_dp net/avp: replace RTE_LOG_DP with rte_log_dp net/bnxt: replace RTE_LOG_DP with rte_log_dp net/dpaa: replace RTE_LOG_DP with rte_log_dp net/dpaa2: replace RTE_LOG_DP with rte_log_dp net/enetc: replace RTE_LOG_DP with rte_log_dp net/enetfec: replace RTE_LOG_DP with rte_log_dp net/igc: replace RTE_LOG_DP with rte_log_dp net/mana: replace RTE_LOG_DP with rte_log_dp net/mvpp2: do not use PMD logtype net/octeon_ep: replace RTE_LOG_DP with rte_log_dp net/pfe: replace RTE_LOG_DP with rte_log_dp net/qede: replace RTE_LOG_DP with rte_log_dp net/virtio: replace RTE_LOG_DP with rte_log_dp net/vmxnet3: do not use PMD logtype common/cnxk: replace RTE_LOG_DP with rte_log_dp common/cpt: replace RTE_LOG_DP with rte_log_dp common/sfc_efx: remove use of PMD logtype common/dpaax: do not use PMD logtype basband/la12xx: replace RTE_LOG_DP with rte_log_dp bus/cdx: replace RTE_LOG_DP with rte_log_dp bus/fslmc: replace RTE_LOG_DP with rte_log_dp dma/dpaa, dma/dpaa2: replace RTE_LOG_DP with rte_log_dp mempool/dpaa, mempool/dpaa2: do not use logtype PMD .../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 2 +- drivers/bus/cdx/cdx_logs.h | 2 +- drivers/bus/fslmc/fslmc_logs.h | 2 +- drivers/common/cnxk/roc_platform.h | 28 ++++++++++--------- drivers/common/cpt/cpt_pmd_logs.h | 2 +- drivers/common/dpaax/caamflib/compat.h | 5 +++- drivers/common/dpaax/version.map | 1 + drivers/common/sfc_efx/sfc_efx.c | 11 ++------ drivers/common/sfc_efx/sfc_efx_log.h | 2 +- drivers/dma/dpaa/dpaa_qdma_logs.h | 5 ++-- drivers/dma/dpaa2/dpaa2_qdma_logs.h | 3 +- drivers/mempool/dpaa/dpaa_mempool.h | 2 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 4 +-- drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h | 2 +- drivers/net/atlantic/atl_logs.h | 15 +++++----- drivers/net/avp/avp_logs.h | 20 +++++++------ drivers/net/bnxt/bnxt.h | 5 ++++ drivers/net/bnxt/bnxt_rxtx_vec_neon.c | 3 +- drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 3 +- drivers/net/bnxt/bnxt_txr.c | 4 +-- drivers/net/dpaa/dpaa_ethdev.c | 4 +-- drivers/net/dpaa/dpaa_ethdev.h | 2 +- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- drivers/net/dpaa2/dpaa2_pmd_logs.h | 2 +- drivers/net/dpaa2/dpaa2_sparser.c | 4 +-- drivers/net/enetc/enetc_logs.h | 2 +- drivers/net/enetfec/enet_pmd_logs.h | 2 +- drivers/net/igc/igc_logs.h | 10 ++++--- drivers/net/mana/mana.h | 2 +- drivers/net/mvpp2/mrvl_ethdev.c | 4 +-- drivers/net/octeon_ep/otx_ep_common.h | 7 +++++ drivers/net/octeon_ep/otx_ep_rxtx.c | 5 ++-- drivers/net/octeontx/octeontx_logs.h | 3 +- drivers/net/pfe/pfe_logs.h | 2 +- drivers/net/qede/qede_logs.h | 10 ++++--- drivers/net/virtio/virtio_logs.h | 16 ++++++----- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- drivers/net/vmxnet3/vmxnet3_logs.h | 12 +++++--- lib/log/rte_log.h | 26 +++++++++++++++-- 39 files changed, 139 insertions(+), 99 deletions(-) -- 2.42.0