From patchwork Tue Aug 20 12:29:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Oleksij Rempel X-Patchwork-Id: 13770061 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DC9818FC91 for ; Tue, 20 Aug 2024 12:29:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724156970; cv=none; b=rhooKmgOdx1IBIINADIpcPJN0gISun/Vyq12ybelZ6kT+3+T9zC8UnGWzZQ4Od0zvNOftFWDOFefOYfpt2aBIRDqZAFU6QnFvIfytg1BoIeULrVkSG+k5sNbsocYpC6mVoYTnBidn3hpie3btbhLCdIt2AF3hZNPbfmv71nHDQY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724156970; c=relaxed/simple; bh=2SgUncOnmRR7iVNsvvvxK9lF4YkyfEhHb1p4D4/z6qs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=a6sQYWFmGoIVAHViQiMEAel4eZaDP0O0/Pn6RSXENRxV+nIaoD9dVfoEhSALwZceHjecI9wErRI+ChrbMlKKcvngi523LxE14TRC5uP1IQ6QIfuLSSQFUlzoKk7fWr572FiaqCO05KhstEGJGdxFI3UopGMGwc+kRRdrXX5j53U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sgNzA-0004Mx-7x; Tue, 20 Aug 2024 14:29:16 +0200 Received: from [2a0a:edc0:0:1101:1d::ac] (helo=dude04.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sgNz8-001lnR-Se; Tue, 20 Aug 2024 14:29:14 +0200 Received: from ore by dude04.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1sgNz8-008DbX-2Y; Tue, 20 Aug 2024 14:29:14 +0200 From: Oleksij Rempel To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Oleksij Rempel , kernel@pengutronix.de, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH net-next v2 0/3] Add Statistics Support for DP83TG720 PHY Date: Tue, 20 Aug 2024 14:29:11 +0200 Message-Id: <20240820122914.1958664-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi all, This patch series primarily focuses on adding statistics support for the DP83TG720 PHY driver. Along the way, to achieve this goal, I introduced defines for various statistics to ensure they are reusable across different PHY drivers. Changes are tracked in separate patches. Oleksij Rempel (3): phy: open_alliance_helpers: Add defines for link quality metrics phy: Add defines for standardized PHY generic counters phy: dp83tg720: Add statistics support drivers/net/phy/dp83tg720.c | 327 ++++++++++++++++++++++++ drivers/net/phy/open_alliance_helpers.h | 14 + include/linux/phy.h | 6 + 3 files changed, 347 insertions(+) --- 2.39.2