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 C1AE843751; Thu, 21 Dec 2023 17:48:53 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8107C4026B; Thu, 21 Dec 2023 17:48:53 +0100 (CET) Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mails.dpdk.org (Postfix) with ESMTP id D8381400D6 for ; Thu, 21 Dec 2023 17:48:51 +0100 (CET) Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6d775f9af42so908033b3a.3 for ; Thu, 21 Dec 2023 08:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1703177331; x=1703782131; 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=eEvEuuZZ2MViWhYuhJNgE2Ve8Pip1WwXm3R+dTWV3ag=; b=JeyxSBS6JlA7dqn3O+o/p1mEsexaP8EfJecd5KWeCetwzZQMUfqGBL6ijJfRLHeSJZ 2FAuU8zrBY5LoLMuCuLo4O+8Q8FeimmhSkKqMcv3/bVyESsREcG7oNDHO/niQhXsAGyz bb8fFCAGF5+EA6Zj9k8zMugDBzhopKKAOgNJGgqmrsVaFX9h7G8fgWB4P/GN7tA/AjkR pGzQKIbv/RflRoGcxbQvALSD/+h8kQ4giMva9jvB0apa9WzOgF7bDxZmRkqLmdA2TGl3 SWL2af4QJuw1zwOTp8/6m7sVJKCta9CI/cRE+vxHqlsu9yHC0f2gqQtnYH1oWnbIuFDS JdVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703177331; x=1703782131; 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=eEvEuuZZ2MViWhYuhJNgE2Ve8Pip1WwXm3R+dTWV3ag=; b=rJC8U6pqSZgr4Nf1b6GsDpOKRxnDNoaYaGd5o07e65cn1N2SDLoHmdD6DXTHK9pa8p TbUY2kmrKD33/bPJuwOMd3D1pWI1J4HxC5haaoy01Dumpk0yXd6mlps3xd+fukJHlsJR eHB5JMc8CKENzDqObL34o9sLho44xUSzghItFP/0qs2HPrT83U1e30U4lekD1Wi+UivS HFwgSy0n82fUXZIT/tM83LGTLG7D5c8ujSL4WUIDoVc0rq9dpjxpHQWPrvb1yZAmu3CB gpTeAlGsgxXc4ulcQ1vhhnt1GUgAlOK2yTPhZylheHE5sbmIKN+NvzbssWGcOGKW60kG WHEg== X-Gm-Message-State: AOJu0YwN12WEkGRkhTysI4xIamXpjzCKPf8hVp0ftgR3/70QPUFVnFY8 r78lkuIvdPRkUsZ7DncJxBxngQpASbmhN9RstruSvw== X-Google-Smtp-Source: AGHT+IF7CecItpcJjUxy+NA341W4l7XvY/y0GKrZHiW9qNR/fmXcNoECBc2lgplBxqaZail6eray3w== X-Received: by 2002:a05:6a20:3d23:b0:191:bd3b:78b5 with SMTP id y35-20020a056a203d2300b00191bd3b78b5mr1993330pzi.78.1703177330990; Thu, 21 Dec 2023 08:48:50 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id g20-20020a63e614000000b0058901200bbbsm1842456pgh.40.2023.12.21.08.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Dec 2023 08:48:50 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger Subject: [PATCH v5 00/18] Replace uses of PMD logtype Date: Thu, 21 Dec 2023 08:46:17 -0800 Message-ID: <20231221164841.125006-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. This replaces all uses in current tree. It leaves PMD logtype as deprecated because there maybe other uses in external projects leftover. This version does not use Depends-on: because CI system can't handle that and want to make sure no PMD left behind. v5 - incorporate review feedback David Marchand (1): drivers: use dedicated logtypes Stephen Hemminger (17): common/sfc_efx: remove use of PMD logtype mempool/dpaa2: use driver logtype not PMD net/dpaa: use dedicated logtype not PMD net/dpaa2: used dedicated logtype not PMD net/mvpp2: use dedicated logtype net/vmxnet3: used dedicated logtype not PMD raw/cnxk: replace PMD logtype with dynamic type crypto/scheduler: replace use of logtype PMD crypto/ccp: do not use PMD logtype crypto/caam_jr: use dedicated logtype crypto/dpaa_sec, crypto/dpaa2_sec: use dedicated logtype event/dlb2: use dedicated logtype event/dpaa, event/dpaa2: use dedicated logtype event/skeleton: replace logtype PMD with dynamic type net/nfb: use dynamic logtype examples/fips_validation: replace use of PMD logtype log: mark PMD logtype as deprecated .../baseband/la12xx/bbdev_la12xx_pmd_logs.h | 3 +- drivers/bus/cdx/cdx_logs.h | 3 +- drivers/bus/fslmc/fslmc_logs.h | 3 +- drivers/common/cnxk/roc_platform.h | 16 +- drivers/common/cpt/cpt_pmd_logs.h | 6 +- drivers/common/dpaax/caamflib/compat.h | 4 +- drivers/common/dpaax/dpaax_logs.h | 3 +- drivers/common/dpaax/version.map | 1 + drivers/common/idpf/idpf_common_logs.h | 5 +- drivers/common/sfc_efx/sfc_efx.c | 11 +- drivers/common/sfc_efx/sfc_efx_log.h | 2 +- drivers/crypto/caam_jr/caam_jr.c | 46 ++- drivers/crypto/caam_jr/caam_jr_log.h | 15 +- drivers/crypto/caam_jr/caam_jr_uio.c | 4 +- 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 | 3 +- drivers/crypto/dpaa_sec/dpaa_sec.c | 30 +- drivers/crypto/dpaa_sec/dpaa_sec_log.h | 3 +- drivers/crypto/scheduler/scheduler_pmd.c | 4 +- drivers/dma/dpaa/dpaa_qdma_logs.h | 3 +- drivers/dma/dpaa2/dpaa2_qdma_logs.h | 3 +- drivers/event/dlb2/dlb2.c | 275 +++++++++--------- drivers/event/dlb2/dlb2_log.h | 3 +- drivers/event/dpaa/dpaa_eventdev.c | 2 +- drivers/event/dpaa2/dpaa2_eventdev.c | 4 +- drivers/event/dpaa2/dpaa2_eventdev_logs.h | 3 +- drivers/event/dpaa2/dpaa2_eventdev_selftest.c | 6 +- drivers/event/skeleton/skeleton_eventdev.c | 4 +- drivers/event/skeleton/skeleton_eventdev.h | 8 +- drivers/mempool/dpaa/dpaa_mempool.c | 1 + drivers/mempool/dpaa/dpaa_mempool.h | 2 +- drivers/mempool/dpaa2/dpaa2_hw_mempool.c | 4 +- drivers/mempool/dpaa2/dpaa2_hw_mempool_logs.h | 3 +- drivers/net/atlantic/atl_logs.h | 5 +- drivers/net/avp/avp_logs.h | 5 +- drivers/net/bnxt/bnxt.h | 1 + drivers/net/bnxt/bnxt_rxtx_vec_neon.c | 2 +- drivers/net/bnxt/bnxt_rxtx_vec_sse.c | 2 +- drivers/net/bnxt/bnxt_txr.c | 2 +- drivers/net/dpaa/dpaa_ethdev.c | 8 +- drivers/net/dpaa/dpaa_ethdev.h | 3 +- drivers/net/dpaa2/dpaa2_ethdev.c | 2 +- drivers/net/dpaa2/dpaa2_pmd_logs.h | 3 +- drivers/net/dpaa2/dpaa2_sparser.c | 4 +- drivers/net/enetc/enetc_logs.h | 3 +- drivers/net/enetfec/enet_pmd_logs.h | 3 +- drivers/net/igc/igc_logs.h | 5 +- drivers/net/mana/mana.h | 3 +- drivers/net/mvpp2/mrvl_ethdev.c | 4 +- drivers/net/nfb/nfb.h | 5 + drivers/net/nfb/nfb_ethdev.c | 24 +- drivers/net/nfb/nfb_rx.c | 9 +- drivers/net/nfb/nfb_rx.h | 2 +- drivers/net/nfb/nfb_tx.c | 9 +- drivers/net/nfb/nfb_tx.h | 2 +- drivers/net/octeon_ep/otx_ep_common.h | 2 + drivers/net/octeon_ep/otx_ep_rxtx.c | 2 +- drivers/net/octeontx/octeontx_logs.h | 3 +- drivers/net/pfe/pfe_logs.h | 3 +- drivers/net/qede/qede_logs.h | 5 +- drivers/net/virtio/virtio_logs.h | 5 +- drivers/net/vmxnet3/vmxnet3_ethdev.c | 2 +- drivers/net/vmxnet3/vmxnet3_logs.h | 7 +- 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 | 6 + drivers/raw/cnxk_gpio/cnxk_gpio.c | 21 +- drivers/raw/cnxk_gpio/cnxk_gpio.h | 5 + drivers/raw/cnxk_gpio/cnxk_gpio_selftest.c | 17 +- drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 3 +- .../raw/ifpga/base/osdep_rte/osdep_generic.h | 5 +- drivers/vdpa/ifc/base/ifcvf.c | 10 +- drivers/vdpa/ifc/base/ifcvf_osdep.h | 7 +- examples/fips_validation/fips_dev_self_test.c | 44 +-- lib/log/log.c | 3 + lib/log/rte_log.h | 2 +- 78 files changed, 420 insertions(+), 376 deletions(-) -- 2.43.0