[PATCH net-next 00/14] net: bcmgenet: revise suspend/resume

Doug Berger
2025-03-06T19:27:19Z

This commit set updates the GENET driver to reduce the delay to
resume the ethernet link when the Wake on Lan features are used.

In addition, the encoding of hardware versioning and features is
revised to avoid some redundancy and improve readability as well
as remove a warning that occurred for the BCM7712 device which
updated the device major version while maintaining compatibility
with the driver.

The assignment of hardware descriptor rings was modified to
simplify programming and to allow support for the hardware
RX_CLS_FLOW_DISC filter action.

Doug Berger (14):
net: bcmgenet: bcmgenet_hw_params clean up
net: bcmgenet: add bcmgenet_has_* helpers
net: bcmgenet: move feature flags to bcmgenet_priv
net: bcmgenet: BCM7712 is GENETv5 compatible
net: bcmgenet: extend bcmgenet_hfb_* API
net: bcmgenet: move DESC_INDEX flow to ring 0
net: bcmgenet: add support for RX_CLS_FLOW_DISC
net: bcmgenet: remove dma_ctrl argument
net: bcmgenet: consolidate dma initialization
net: bcmgenet: introduce bcmgenet_[r|t]dma_disable
net: bcmgenet: support reclaiming unsent Tx packets
net: bcmgenet: move bcmgenet_power_up into resume_noirq
net: bcmgenet: allow return of power up status
net: bcmgenet: revise suspend/resume

.../net/ethernet/broadcom/genet/bcmgenet.c | 1089 ++++++++---------
.../net/ethernet/broadcom/genet/bcmgenet.h | 52 +-
.../ethernet/broadcom/genet/bcmgenet_wol.c | 89 +-
drivers/net/ethernet/broadcom/genet/bcmmii.c | 6 +-
4 files changed, 577 insertions(+), 659 deletions(-)

--
2.34.1