u-boot/drivers/net/fsl-mc
Ioana Ciornei 13ca5c2f56 net: ldpaa_eth: transform dpni_statistics from a struct to a union
In order to simplify code, dpni_statistics can be written as a union.
Using the raw accessors we can just loop through all the statistics from
a page without trying to access each an every one independently.
Make this change to a union.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
2023-06-14 18:40:16 +08:00
..
dpio global: Move remaining CONFIG_SYS_* to CFG_SYS_* 2022-12-05 16:06:08 -05:00
dpbp.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpmac.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpmng.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dpni.c net: ldpaa_eth: transform dpni_statistics from a struct to a union 2023-06-14 18:40:16 +08:00
dprc.c driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
dpsparser.c drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
fsl_dpmng_cmd.h driver: net: fsl-mc: updated copyright info 2018-05-09 09:17:51 -05:00
Kconfig fsl-mc: Update dependencies for DM_ETH 2022-08-20 21:18:15 -04:00
Makefile drivers/fsl-mc: Support DPSPARSER object and apply spb command 2019-12-26 16:00:20 +05:30
mc.c drivers: net: fsl-mc: fix MAC address fixup procedure 2023-05-05 13:41:55 -04:00
mc_sys.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00