From: Ioana Ciornei <ioana.ciornei@nxp.com>
This patch set integrates the already available MAC support into the
dpaa2-switch driver as well.
The first 4 patches are fixing up some minor problems or optimizing the
code, while the remaining ones are actually integrating the dpaa2-mac
support into the switch driver by calling the dpaa2_mac_* provided
functions. While at it, we also export the MAC statistics in ethtool
like we do for dpaa2-eth.
Ioana Ciornei (8):
dpaa2-switch: request all interrupts sources on the DPSW
dpaa2-switch: use the port index in the IRQ handler
dpaa2-switch: do not enable the DPSW at probe time
dpaa2-switch: no need to check link state right after ndo_open
bus: fsl-mc: extend fsl_mc_get_endpoint() to pass interface ID
dpaa2-switch: integrate the MAC endpoint support
dpaa2-switch: add a prefix to HW ethtool stats
dpaa2-switch: export MAC statistics in ethtool
drivers/bus/fsl-mc/fsl-mc-bus.c | 4 +-
drivers/net/ethernet/freescale/dpaa2/Makefile | 2 +-
.../net/ethernet/freescale/dpaa2/dpaa2-eth.c | 2 +-
.../freescale/dpaa2/dpaa2-switch-ethtool.c | 56 +++++--
.../ethernet/freescale/dpaa2/dpaa2-switch.c | 151 +++++++++++++-----
.../ethernet/freescale/dpaa2/dpaa2-switch.h | 18 +++
drivers/net/ethernet/freescale/dpaa2/dpsw.h | 5 +
include/linux/fsl/mc.h | 3 +-
8 files changed, 177 insertions(+), 64 deletions(-)
--
2.31.1