[PATCH net-next v5 00/14] net: dpaa: Cleanups in preparation for phylink conversion (part 2)

Sean Anderson sean.anderson at seco.com
Sat Sep 3 07:57:22 AEST 2022


This series contains several cleanup patches for dpaa/fman. While they
are intended to prepare for a phylink conversion, they stand on their
own. This series was originally submitted as part of [1].

[1] https://lore.kernel.org/netdev/20220715215954.1449214-1-sean.anderson@seco.com

Changes in v5:
- Reduce line length of tgec_config
- Reduce line length of qman_update_cgr_safe
- Rebase onto net-next/master

Changes in v4:
- weer -> were
- tricy -> tricky
- Use mac_dev for calling change_addr
- qman_cgr_create -> qman_create_cgr

Changes in v2:
- Fix prototype for dtsec_initialization
- Fix warning if sizeof(void *) != sizeof(resource_size_t)
- Specify type of mac_dev for exception_cb
- Add helper for sanity checking cgr ops
- Add CGR update function
- Adjust queue depth on rate change

Sean Anderson (14):
  net: fman: Move initialization to mac-specific files
  net: fman: Mark mac methods static
  net: fman: Inline several functions into initialization
  net: fman: Remove internal_phy_node from params
  net: fman: Map the base address once
  net: fman: Pass params directly to mac init
  net: fman: Use mac_dev for some params
  net: fman: Specify type of mac_dev for exception_cb
  net: fman: Clean up error handling
  net: fman: Change return type of disable to void
  net: dpaa: Use mac_dev variable in dpaa_netdev_init
  soc: fsl: qbman: Add helper for sanity checking cgr ops
  soc: fsl: qbman: Add CGR update function
  net: dpaa: Adjust queue depth on rate change

 .../net/ethernet/freescale/dpaa/dpaa_eth.c    |  52 ++-
 .../ethernet/freescale/dpaa/dpaa_eth_sysfs.c  |   2 +-
 .../net/ethernet/freescale/fman/fman_dtsec.c  | 188 +++++----
 .../net/ethernet/freescale/fman/fman_dtsec.h  |  27 +-
 .../net/ethernet/freescale/fman/fman_mac.h    |  14 +-
 .../net/ethernet/freescale/fman/fman_memac.c  | 199 ++++++---
 .../net/ethernet/freescale/fman/fman_memac.h  |  26 +-
 .../net/ethernet/freescale/fman/fman_tgec.c   | 123 ++++--
 .../net/ethernet/freescale/fman/fman_tgec.h   |  23 +-
 drivers/net/ethernet/freescale/fman/mac.c     | 378 ++----------------
 drivers/net/ethernet/freescale/fman/mac.h     |  10 +-
 drivers/soc/fsl/qbman/qman.c                  |  77 +++-
 include/soc/fsl/qman.h                        |   9 +
 13 files changed, 511 insertions(+), 617 deletions(-)

-- 
2.35.1.1320.gc452695387.dirty



More information about the Linuxppc-dev mailing list