diff options
author | Luo Jie <quic_luoj@quicinc.com> | 2025-07-15 19:02:26 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-07-17 18:35:50 -0700 |
commit | 22bf4bd8ec4fc427cbd07af223a509b80913923a (patch) | |
tree | af380552e5e0158287f6145cd183d8881757f4d2 /net/core/utils.c | |
parent | a93f38ebff577a8f131c565ac0fa3d281084df3e (diff) |
net: phy: qcom: Add PHY counter support
Add PHY counter functionality to the shared library. The implementation
is identical for the current QCA807X and QCA808X PHYs.
The PHY counter can be configured to perform CRC checking for both received
and transmitted packets. Additionally, the packet counter can be set to
automatically clear after it is read.
The PHY counter includes 32-bit packet counters for both RX (received) and
TX (transmitted) packets, as well as 16-bit counters for recording CRC
error packets for both RX and TX.
Signed-off-by: Luo Jie <quic_luoj@quicinc.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250715-qcom_phy_counter-v3-1-8b0e460a527b@quicinc.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions