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 87E64436D9; Wed, 13 Dec 2023 05:19:24 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3B623410FB; Wed, 13 Dec 2023 05:19:24 +0100 (CET) Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) by mails.dpdk.org (Postfix) with ESMTP id 731B4402D1 for ; Wed, 13 Dec 2023 05:19:23 +0100 (CET) Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1d348653591so6464255ad.1 for ; Tue, 12 Dec 2023 20:19:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702441162; x=1703045962; 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=PewnE2jEOrWwTium9u0CqSUNoiTPHHmdO20XdLS2Fb0=; b=tSTQ5oDE3haj5r09MaZHYPBJSoTUSNBuL9TTuIVOeMRxGAM0ICNFYqnFh77opfC69u 4KRGdaXjT/hO4CSSrWFlhemWHUA9raaY7Fupt9Ylc/wI04X3sNvQZT8V9Rk/E6P9EuZn 0RqqhZloFQxFDJd/R5J16CmWvWBMmL48KNGWl7Optm/co0MHjjCvoL1kUtdwRWZS050k LfvyelfAyR4oV7GyATrA0JlySDR6/zqRy6/NQ3RoJsQ19RFQgvp9qBdDZW4aCrsANN6i FX7eAuwujlWJ75FKT9zrb9rC4IRJUeA59i5/EK+Q0PRe1lrW1kpx7bYMLgL51YJ7vJXh WmfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702441162; x=1703045962; 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=PewnE2jEOrWwTium9u0CqSUNoiTPHHmdO20XdLS2Fb0=; b=NmNH1aQ0nmYZgqI65BrjOBJMbveHjZVPAWVquLGP+Zs2fMWHppEB/o+BtGLAVyc0Hk 5WXs/lXdAnnAKoR7/OvchFWy11Si7N89og6CthR5+2er9M+9pBpG3koPUFQCNCnO72Me 4Mr/UiSwyg+KoGA9u8+tPmqFaIGlCmhm2CF9KFe7b/Kh4fE2VBrO7+990v/TpUi5Ip+t mX4Hs4MIYGdgErWjcz00qs7KJycYjkb1IK4Mz+xYWnfhqWF7GoPCMdS2CNvgbell/9D3 SptMc+MDssF/3BtAfIaW4AcrAiaU4jo1dvednIDF+jV+qtj9SG2/jyJZWwFnvkkhuY3A drhg== X-Gm-Message-State: AOJu0YwEZ/4KEA+plaWXGnfkwxwvqIqmO6r8bp8W3li0PD8gzmE4zmDC Kx4OL5QmcWKuy/zQfzWGKP3iWmR1AKL2IqY0yLM= X-Google-Smtp-Source: AGHT+IEEPnMWmkdk1CXECcNVRUSvVKvgvfDBhm6j6W4oEGvJgFymdm5PARW8H4f/3zqJS0lIIBGZ9w== X-Received: by 2002:a17:902:8e86:b0:1cc:5671:8d9 with SMTP id bg6-20020a1709028e8600b001cc567108d9mr8490304plb.27.1702441162443; Tue, 12 Dec 2023 20:19:22 -0800 (PST) Received: from hermes.lan (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id p12-20020a170902e74c00b001d077da4ac4sm9340888plf.212.2023.12.12.20.19.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 20:19:22 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v2 00/25] Replace use of RTE_LOGTYPE_PMD Date: Tue, 12 Dec 2023 20:16:27 -0800 Message-ID: <20231213041920.729403-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231213014408.612051-1-stephen@networkplumber.org> References: <20231213014408.612051-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 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. More work is needed before PMD logtype can be retired. v2 - fix some typos from v1 from CI Stephen Hemminger (25): 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, 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/dpaax_logs.h | 2 +- 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 +++++++++++++++-- 40 files changed, 140 insertions(+), 100 deletions(-) -- 2.42.0