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 033D4454EF; Tue, 25 Jun 2024 14:24:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E85734270A; Tue, 25 Jun 2024 14:24:33 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B568241132 for ; Tue, 25 Jun 2024 14:24:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1719318272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=949z88qsdzTJmI4Qr4S9OT3jRekN/aLeIdGul+L/ZKM=; b=XiQvnHWyfhWUUJrspJ6hANiz1eUdVRis7sWanrH7rRN+zWsH7WZwb29QWUubD1pQG9YKI8 nxHcGHExnNXKMqHb0HkP6wspYSpecka5XuRRC3kHbcxB8OKU5JH85I1ic7HFE/657IyuoU G+XRf1EvCnDqofnP+KXzavPrsygoUOQ= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-294-ACfajKcQPMqofTkvVZ0QVg-1; Tue, 25 Jun 2024 08:24:29 -0400 X-MC-Unique: ACfajKcQPMqofTkvVZ0QVg-1 Received: from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id F221219560B7 for ; Tue, 25 Jun 2024 12:24:28 +0000 (UTC) Received: from dmarchan.redhat.com (unknown [10.45.225.3]) by mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 26CF41955E82 for ; Tue, 25 Jun 2024 12:24:27 +0000 (UTC) From: David Marchand To: dev@dpdk.org Subject: [PATCH 0/6] Some drivers logging cleanups Date: Tue, 25 Jun 2024 14:24:08 +0200 Message-ID: <20240625122414.1065829-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 This series removes the last direct calls to some RTE_LOGTYPE_ coming from libraries (EAL and CRYPTODEV) and replaces them with dedicated macros coming from the drivers. -- David Marchand David Marchand (6): vdpa/sfc: remove dead code drivers: use dedicated log macros instead of EAL logtype net/sfc: remove use of EAL logtype vdpa/sfc: remove use of EAL logtype bus/pci: use a dynamic logtype crypto/ccp: use a dynamic logtype drivers/bus/auxiliary/auxiliary_common.c | 4 +- drivers/bus/dpaa/dpaa_bus.c | 4 +- drivers/bus/fslmc/fslmc_vfio.c | 2 +- drivers/bus/pci/bsd/pci.c | 44 +++--- drivers/bus/pci/linux/pci.c | 52 +++---- drivers/bus/pci/linux/pci_uio.c | 75 ++++------ drivers/bus/pci/linux/pci_vfio.c | 173 ++++++++++------------- drivers/bus/pci/pci_common.c | 85 +++++------ drivers/bus/pci/pci_common_uio.c | 15 +- drivers/bus/pci/pci_params.c | 9 +- drivers/bus/pci/private.h | 6 + drivers/bus/pci/windows/pci.c | 13 +- drivers/bus/pci/windows/pci_netuio.c | 7 +- drivers/common/qat/qat_device.c | 4 +- drivers/crypto/ccp/ccp_crypto.c | 4 +- drivers/crypto/ccp/ccp_pmd_private.h | 15 +- drivers/crypto/ccp/rte_ccp_pmd.c | 2 + drivers/net/cnxk/cnxk_rep_msg.c | 2 +- drivers/net/cpfl/cpfl_ethdev.c | 2 +- drivers/net/mlx4/mlx4.c | 2 +- drivers/net/sfc/sfc_ethdev.c | 12 +- drivers/net/sfc/sfc_log.h | 2 +- drivers/vdpa/sfc/sfc_vdpa.c | 6 +- drivers/vdpa/sfc/sfc_vdpa_hw.c | 2 - 24 files changed, 226 insertions(+), 316 deletions(-) -- 2.45.2