Skip to content

amd-xgbe: add support for P100a platform

Raju Rangoju lkml netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesApplied

Patches in v1 Applied

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] amd-xgbe: add support for P100a platform

This patch series adds support for the AMD P100a platform featuring the ethernet controller PCI device ID 0x1122.

The P100a platform uses different register access patterns and speed encoding compared to previous generation hardware (Yellow Carp,etc.) Key differences include:

1. Different XPCS window offset calculation due to changed memory mapping
2. 2.5G speed uses XGMII mode (ss=0x06) instead of GMII (ss=0x02)
3. Extended port speed bits (6-bit instead of 5-bit) for 5G support

The series is organized as follows:

Patch 1: Defines macros for MAC version numbers and speed select values
to replace hardcoded magic numbers

Patch 2: Adds the core P100a platform support with PCI ID,
register configuration, and version-specific behavior

Tested on AMD P100a platform verifying:
- 10G/2.5G/1G/100M link establishment
- PHY initialization and auto-negotiation
- No register access errors

Raju Rangoju (2):
amd-xgbe: define macros for MAC versions and speed select values
amd-xgbe: add support for P100a platform

 drivers/net/ethernet/amd/xgbe/xgbe-common.h |  4 ++-
 drivers/net/ethernet/amd/xgbe/xgbe-dev.c    | 39 +++++++++++++++++----
 drivers/net/ethernet/amd/xgbe/xgbe-pci.c    |  8 +++++
 drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c | 22 ++++++++++--
 drivers/net/ethernet/amd/xgbe/xgbe.h        | 25 ++++++++++++-
 5 files changed, 87 insertions(+), 11 deletions(-)
Signature · 1 line
2.34.1