From patchwork Wed Feb 23 10:28:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiawen Wu X-Patchwork-Id: 108134 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81A8EA034C; Wed, 23 Feb 2022 11:29:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 75B5740E5A; Wed, 23 Feb 2022 11:29:07 +0100 (CET) Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) by mails.dpdk.org (Postfix) with ESMTP id D48A240DF6 for ; Wed, 23 Feb 2022 11:29:05 +0100 (CET) X-QQ-mid: bizesmtp63t1645612141tak7uuwc Received: from jiawenwu.trustnetic.com (unknown [183.129.236.74]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 23 Feb 2022 18:28:59 +0800 (CST) X-QQ-SSF: 01400000002000F0M000B00A0000000 X-QQ-FEAT: Mzskoac49OhQ2xLOPckE8i9H/TbktJm/coD2t8Os3AnYd6srcrRbjZXMRXLtb T3ofY9BHVtMCnSg+LWkxw40Wg8ruPi8NGiNswqWmBt06969Y+jqt333kESYbDECmmhQ5ZdA aJt2MYvaXVbrPhESpSla1YLZ5F8SyqwkKvgW5+PeEu3xbGdFNFRW3HYxH4t7jJO7jnrl5Xe rjhQKyasYokBR5bZzLt56mV0ogPnG2aQTs953G/oJhnseFPLhC/ca1aw33dCwZo+z2Q7Qzy 0mlUg84JDy6Jg8w6UBcsiLkzlFqLVqesCxG48NaHP7v7olbAKGBoDtahi9aj3DyPKXPzPU2 fqItVOcTqKVMLtb8k7sMkue8P12vw== X-QQ-GoodBg: 2 From: Jiawen Wu To: dev@dpdk.org Cc: Jiawen Wu Subject: [PATCH v2 0/2] Wangxun log fixes Date: Wed, 23 Feb 2022 18:28:55 +0800 Message-Id: <20220223102857.24816-1-jiawenwu@trustnetic.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:trustnetic.com:qybgforeign:qybgforeign6 X-QQ-Bgrelay: 1 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 Remove redundant debug logs and unify the log format. v2: - Fix compile error. - Merge broken log message lines. - Use 'RTE_ETHER_ADDR_PRT_FMT' for MAC format. Jiawen Wu (2): net/ngbe: fix debug log net/txgbe: fix debug log drivers/net/ngbe/base/ngbe_eeprom.c | 22 +-- drivers/net/ngbe/base/ngbe_hw.c | 152 +++++-------------- drivers/net/ngbe/base/ngbe_mbx.c | 22 --- drivers/net/ngbe/base/ngbe_mng.c | 16 +- drivers/net/ngbe/base/ngbe_phy.c | 30 +--- drivers/net/ngbe/base/ngbe_phy_mvl.c | 17 +-- drivers/net/ngbe/base/ngbe_phy_rtl.c | 18 +-- drivers/net/ngbe/base/ngbe_phy_yt.c | 18 +-- drivers/net/ngbe/ngbe_logs.h | 7 +- drivers/net/txgbe/base/meson.build | 2 +- drivers/net/txgbe/base/txgbe_eeprom.c | 41 ++---- drivers/net/txgbe/base/txgbe_hw.c | 202 ++++++-------------------- drivers/net/txgbe/base/txgbe_mbx.c | 38 ----- drivers/net/txgbe/base/txgbe_mng.c | 21 +-- drivers/net/txgbe/base/txgbe_osdep.h | 1 + drivers/net/txgbe/base/txgbe_phy.c | 84 ++--------- drivers/net/txgbe/base/txgbe_vf.c | 12 +- drivers/net/txgbe/txgbe_logs.h | 7 +- 18 files changed, 144 insertions(+), 566 deletions(-)