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 59342436E3; Wed, 13 Dec 2023 17:38:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D8247402CC; Wed, 13 Dec 2023 17:38:33 +0100 (CET) Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mails.dpdk.org (Postfix) with ESMTP id 7A8AF4021D for ; Wed, 13 Dec 2023 17:38:32 +0100 (CET) Received: by mail-pl1-f181.google.com with SMTP id d9443c01a7336-1d069b1d127so42281745ad.0 for ; Wed, 13 Dec 2023 08:38:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1702485511; x=1703090311; 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=MSV8tHoZ8Zry0NqVLWI/jiNeq0MSlcuq0UySM80EPs0=; b=lfK7u2rmj6+IAReKjs4i9IyRMw+Ey6Qawf5gGKpxH7l7XozHHOUcANcFjAOHprfJ+l d5rnsknnjrwSaJ/sajjZgCsiaqVUDG+Tna5OxLz/GRy4YzueVyZx7e9k74cGO2XMecPn yrxJByh9/lIuUQRYcYSqgy3OBg3GWEPFJf7Ffvz2kt/UjKN7BVa2l050V1LMn/9IoB9s kCOCBb6dkzkQ7EaT4LOwHSXSFhtl+HUXeDBqk1XZWUb5Rxzd6snKTtpscnNukk1xY8BA nBtmAhneikZds3sRI9+Yo/Q3bSisYaU6SrvG7sh60fjRPzbpSK6fbIsClYoJMXk9tO9Q uDvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702485511; x=1703090311; 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=MSV8tHoZ8Zry0NqVLWI/jiNeq0MSlcuq0UySM80EPs0=; b=a5BEJDy/aWwsoWe4ZZVjRTdCFmDfqkyFm9chtux2YnnifIQPUMf/J/YD/wAT0XIgXc oBMvYeU0K66wUnx1HkUE5SlvBo2bPkEpPS+gbACJuPGatQaEGkhKX0mUEtvN/OSh2EUK lL5bMa61c+5ZsuF1GERBgEPutSUF2xWXZOWhrodzJDmHvpBdixeKge2opO5Or+bcqzVE R2x181GRSP/uVCNenx/q3mpDLM5EHVdncup1SFLbDV23Xae8SrPwY6dsL8BvT4UtD7Ix cSWz2AXrjSiRKXTH1DcIKhx8fgIX8RiIaYtowTZgfuK1oOanUEAFgWUmw6H5M9ggBxb7 8Obw== X-Gm-Message-State: AOJu0Yxo2jdU1ghdPBxyAv/UpajG+eUw+LInVSBGeVm0JSSlUoLcSmHu aQ0CWG6fzRECz9/QrkMSCilFseYPtlRc/q6/j0k= X-Google-Smtp-Source: AGHT+IHMtuq8/wovPKGpTd10JNtPP/7sZSmP38nJYo1VQ9lziz9AxmPd8rzMe9YlfUnNUkrjWiH0IA== X-Received: by 2002:a17:903:2695:b0:1d3:5229:cf3c with SMTP id jf21-20020a170903269500b001d35229cf3cmr443000plb.109.1702485511545; Wed, 13 Dec 2023 08:38:31 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id 4-20020a170902c24400b001d0a6f31519sm10749593plg.188.2023.12.13.08.38.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 08:38:31 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v3 00/37] Replace uso of RTE_LOGTYPE_PMD Date: Wed, 13 Dec 2023 08:35:34 -0800 Message-ID: <20231213163820.894987-1-stephen@networkplumber.org> X-Mailer: git-send-email 2.43.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 later changes to the original driver. v3 - add more drivers. fix docbook. Stephen Hemminger (37): 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 vdpa/ifc: replace use of RTE_LOGTYPE_PMD raw/cnxk_bphy: replace PMD logtype with dynamic type raw/cnxk_gpio: replace PMD logtype with dynamic type raw/dpaa2_cmdif: replace PMD logtype with rte_log_dp raw/ifpga: replace PMD logtype with dynamic type event/dlb2: replace logtype PMD with rte_log_dp event/dpaa, event/dpaa2: use local logtype event/skeleton: replace logtype PMD with dynamic type crypto/caam_jr: replace logtype PMD crypto/ccp: do not use PMD logtype crypto/scheduler: replace use of logtype PMD crypto/dpaa_sec, crypto/dpaa2_sec: replace use of PMD logtype .../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/crypto/caam_jr/caam_jr.c | 8 ++--- drivers/crypto/caam_jr/caam_jr_log.h | 2 +- drivers/crypto/ccp/rte_ccp_pmd.c | 13 ++++---- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 6 ++-- drivers/crypto/dpaa2_sec/dpaa2_sec_logs.h | 4 +-- drivers/crypto/dpaa_sec/dpaa_sec.c | 4 +-- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 2 +- drivers/crypto/scheduler/scheduler_pmd.c | 4 +-- drivers/dma/dpaa/dpaa_qdma_logs.h | 5 +-- drivers/dma/dpaa2/dpaa2_qdma_logs.h | 3 +- drivers/event/dlb2/dlb2.c | 5 ++- drivers/event/dlb2/dlb2_log.h | 2 +- drivers/event/dpaa/dpaa_eventdev.c | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 4 +-- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 2 +- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 6 ++-- drivers/event/skeleton/skeleton_eventdev.c | 3 +- drivers/event/skeleton/skeleton_eventdev.h | 8 +++-- 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 ++++--- drivers/raw/cnxk_bphy/cnxk_bphy.c | 3 +- drivers/raw/cnxk_bphy/cnxk_bphy_cgx.c | 2 +- drivers/raw/cnxk_bphy/cnxk_bphy_cgx_test.c | 31 +++++++++---------- drivers/raw/cnxk_bphy/rte_pmd_bphy.h | 5 +++ drivers/raw/cnxk_gpio/cnxk_gpio.c | 22 +++++++------ drivers/raw/cnxk_gpio/cnxk_gpio.h | 4 +++ drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 31 +++++++++---------- drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 3 +- .../raw/ifpga/base/osdep_rte/osdep_generic.h | 4 ++- drivers/vdpa/ifc/base/ifcvf.c | 14 ++++----- drivers/vdpa/ifc/base/ifcvf_osdep.h | 9 ++++-- lib/log/rte_log.h | 24 ++++++++++++-- 67 files changed, 249 insertions(+), 192 deletions(-) -- 2.43.0