Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: add HPE GXP UMAC support
@ 2026-12-05 22:51 Michal Gorlas
  2026-12-05 22:51 ` [PATCH net-next 1/5] dt-bindings: reset: add HPE GXP reset controller Michal Gorlas
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Michal Gorlas @ 2026-12-05 22:51 UTC (permalink / raw)
  To: Jean-Marie Verdun, Nick Hawkins, Philipp Zabel, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Andrew Lunn, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Marcello Sylvester Bauer, Russell King
  Cc: Tan Siewert, devicetree, linux-kernel, netdev, Georg Hackel

Add Ethernet driver for the UMAC controller found on HPE GXP SoCs.
The GXP includes two controllers, first is connected to an external
Marvell PHY via an SGMII interface and the second one uses NC-SI
for sideband communication with the host NIC.

The code is based on an implementation written by HPE in a hard-fork
downstream that is available as tarball [1]. The UMAC driver is
currently used on the HPE Proliant Gen11 boards that run OpenBMC [2].
Parts of the code were submitted previously back in 2023 [3].

For stopping the interface while the traffic flows, and for the timeout
handling, also add reset controller, so that we can ensure
that the DMA engine stopped before freeing buffers. It uses the
reset-simple.

Each UMAC block contains its own MDIO controller, however, these are a
bit "weird" on this hardware, i.e. the internal SGMII PCS instances are
both reachable only through the MDIO controller of the second UMAC
block. So the first UMAC uses its external PHY and the PCS from the
second block's bus. This was handled the same in the HPE's downstream
device tree.

Tested the following on DL365 Gen11: multicast, RX/TX integrity,
repeated renegotiation, unbind/rebind, no lockdep reports on a build
with PROVE_LOCKING, NC-SI traffic, 1000/100 full, 100 half and 10 full duplex.

[1] - https://osfci.tech/ci/get_custom_repo
[2] - https://github.com/canopybmc/canopybmc/releases/tag/2026.06
[3] - https://lore.kernel.org/all/20230816215220.114118-1-nick.hawkins@hpe.com/

Signed-off-by: Michal Gorlas <michal.gorlas@9elements.com>
---
Marcello Sylvester Bauer (1):
      dt-bindings: net: add HPE GXP UMAC Ethernet controller

Michal Gorlas (4):
      dt-bindings: reset: add HPE GXP reset controller
      reset: simple: add HPE GXP support
      net: ethernet: add HPE GXP UMAC driver
      MAINTAINERS: Add HPE GXP UMAC entry

 .../devicetree/bindings/net/hpe,gxp-umac.yaml      |  156 +++
 .../devicetree/bindings/reset/hpe,gxp-reset.yaml   |   40 +
 MAINTAINERS                                        |    9 +
 drivers/net/ethernet/Kconfig                       |    1 +
 drivers/net/ethernet/Makefile                      |    1 +
 drivers/net/ethernet/hpe/Kconfig                   |   37 +
 drivers/net/ethernet/hpe/Makefile                  |    6 +
 drivers/net/ethernet/hpe/gxp_umac.c                | 1407 ++++++++++++++++++++
 drivers/net/ethernet/hpe/gxp_umac.h                |  117 ++
 drivers/reset/Kconfig                              |    3 +-
 drivers/reset/reset-simple.c                       |    1 +
 11 files changed, 1777 insertions(+), 1 deletion(-)
---
base-commit: ccb81d5e317b0ae2cc66ca1c628c0ca907928f94
change-id: 20261205-umac-b33a66122424

Best regards,
--  
Michal Gorlas <michal.gorlas@9elements.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-12-05 22:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-05 22:51 [PATCH net-next 0/5] net: add HPE GXP UMAC support Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 1/5] dt-bindings: reset: add HPE GXP reset controller Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 2/5] reset: simple: add HPE GXP support Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 3/5] dt-bindings: net: add HPE GXP UMAC Ethernet controller Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 4/5] net: ethernet: add HPE GXP UMAC driver Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 5/5] MAINTAINERS: Add HPE GXP UMAC entry Michal Gorlas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox