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 D84C9A0546; Tue, 6 Apr 2021 15:22:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B627C140F74; Tue, 6 Apr 2021 15:22:11 +0200 (CEST) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by mails.dpdk.org (Postfix) with ESMTP id 22F45140F6A for ; Tue, 6 Apr 2021 15:22:09 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 5462F5C00C2; Tue, 6 Apr 2021 09:22:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Tue, 06 Apr 2021 09:22:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=26EayEbPnZVK0 AtsMUzAzdJgdJrlhoO12fjQx7jclEs=; b=V69WAfNHG1tRGcmv340AakaY5WusS DUO6KTf/WgUG9jjAERy2wUuiav5SSF4Tf2ZkGLKDB+Sk83oWKM+lCnTYzwGiBJxR 3sx5NHidfIR82XF9afPxMP7bZamzTdgX64NWITmJY74BxUaKinxcfylIaJytVuJp eO7wr9oSH+hTm48sHUjo8wZur/uJQUztw0AzsNxAiBa77V2AJAkRBRAkw9Clbl/R 72s8Q6gMg8X33GffixIDF1C7vxELelQN93rSDhF3aUmpefKMvr3LCosl9LeWkRbc QM7qz6LDynmSKDBCcCJUZOmddRgd2lmsAk4/pQYiuAvv/VVMGmxkFy2hA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=26EayEbPnZVK0AtsMUzAzdJgdJrlhoO12fjQx7jclEs=; b=jCER9ClI 3jpikWMVypIyfAn9jjgw9f98eka7tCLH1/HC9Gd6YdPQjsLd/URrF7SJ6K5u+S92 VB9NfKmaH5TgIrZdhNGvTTXcwCBY0eQKyMt0P3N7kS3kOQuvXebD5frVJ4pCsDsy eiNdyNev/lR0IDv1LhHjtVKVVjXB1//MQvA3BOgwRgipDr2xPxay10FrAU9R2zky wZyUo45VDIuU1uy6AwLyTDkjVICCXImp2M9M0WqiDrKYjtlmUsh3ChtdRlmB1yl8 M5VRNrbW1xWUEVnRd4zvAVm6xE1QNBgWZx3dvCfCqSbjHNkR8p0dbpQzFU257KLQ EWFv7eTO/3pcbA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejhedgtdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpeehfeeikeelfeeileejtd dvheegjedvveefudefteeljeeftefhlefgffdukedtueenucffohhmrghinhepphhmugdr nhgvthenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdr nhgvth X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id DE3AA24005D; Tue, 6 Apr 2021 09:22:06 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: david.marchand@redhat.com Date: Tue, 6 Apr 2021 15:22:01 +0200 Message-Id: <20210406132204.1818522-1-thomas@monjalon.net> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210310140107.2730088-1-thomas@monjalon.net> References: <20210310140107.2730088-1-thomas@monjalon.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/3] cleanup drivers log registration 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 Sender: "dev" After working on the option "--log-level help", it became clear that few adjustments were required for the log registration of some drivers. v3: - rename pmd.afu.ipn3ke log type to pmd.net.ipn3ke v2: - align bonding and af_packet - make explicit the RTE_LOGTYPE_EAL default Thomas Monjalon (3): log: choose EAL log type on registration failure drivers: fix log level after loading drivers: align log names doc/guides/cryptodevs/qat.rst | 10 ++--- drivers/common/mlx5/mlx5_common.c | 9 +---- drivers/common/qat/qat_logs.c | 4 +- drivers/crypto/bcmfs/bcmfs_logs.c | 17 +------- drivers/net/af_packet/rte_eth_af_packet.c | 2 +- drivers/net/bonding/rte_eth_bond_pmd.c | 2 +- drivers/net/e1000/e1000_logs.c | 49 +++-------------------- drivers/net/e1000/em_ethdev.c | 6 --- drivers/net/e1000/igb_ethdev.c | 6 --- drivers/net/ipn3ke/ipn3ke_ethdev.c | 2 +- drivers/raw/ifpga/ifpga_rawdev.c | 2 +- drivers/raw/ioat/ioat_rawdev.c | 2 +- drivers/raw/skeleton/skeleton_rawdev.c | 2 +- drivers/vdpa/ifc/ifcvf_vdpa.c | 2 +- lib/librte_eal/include/rte_log.h | 2 + 15 files changed, 24 insertions(+), 93 deletions(-) -- 2.31.1