Skip to content

Add shared PHY counter support for QCA807x and QCA808x

Luo Jie linux-arm-msm lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected] change-id 20250709-qcom_phy_counter-49fe93241fdd

Versions newest first

  1. v3 Latest3 patches 6 repliesApplied 3/3
  2. v23 patches 0 repliesSuperseded
  3. v13 patches 2 repliesSuperseded

Changes in v3 from the cover letter

- Resolved the compilation error on the ARCH_i386 platform as reported by
the kernel test robot.
- Link to v2: https://lore.kernel.org/r/[email protected]

Patches in v3 All 3 applied

#Subject and filesSizeRepliesApplied
1/3net: phy: qcom: Add PHY counter supportdrivers/net/phy/qcom/qcom-phy-lib.c drivers/net/phy/qcom/qcom.h+98 -06 repliesApplied
2/3net: phy: qcom: qca808x: Support PHY counterdrivers/net/phy/qcom/qca808x.c+23 -00 repliesApplied
3/3net: phy: qcom: qca807x: Support PHY counterdrivers/net/phy/qcom/qca807x.c+25 -00 repliesApplied

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH net-next v3 0/3] Add shared PHY counter support for QCA807x and QCA808x

The implementation of the PHY counter is identical for both QCA808x and QCA807x series devices. This includes counters for both good and bad CRC frames in the RX and TX directions, which are active when CRC checking is enabled.

This patch series introduces PHY counter functions into a shared library, enabling counter support for the QCA808x and QCA807x families through this common infrastructure. Additionally, enable CRC checking and configure automatic clearing of counters after reading within config_init() to ensure accurate counter recording.

---
Changes in v3:
- Resolved the compilation error on the ARCH_i386 platform as reported by
the kernel test robot.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Update to use the standardized PHY statistics framework.
- Enabled automatic clearing of counters following each read operation,
ensuring support for 64-bit statistics.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Luo Jie (3):
net: phy: qcom: Add PHY counter support
net: phy: qcom: qca808x: Support PHY counter
net: phy: qcom: qca807x: Support PHY counter

 drivers/net/phy/qcom/qca807x.c      | 25 +++++++++++++
 drivers/net/phy/qcom/qca808x.c      | 23 ++++++++++++
 drivers/net/phy/qcom/qcom-phy-lib.c | 75 +++++++++++++++++++++++++++++++++++++
 drivers/net/phy/qcom/qcom.h         | 23 ++++++++++++
 4 files changed, 146 insertions(+)

---
base-commit: 06baf9bfa6ca8db7d5f32e12e27d1dc1b7cb3a8a
change-id: 20250709-qcom_phy_counter-49fe93241fdd

Best regards,

Signature · 1 line
Luo Jie <[email protected]>